Skip to content

Commit b158f0b

Browse files
author
Jean Poree
committed
Merge branch 'fix-autocommit' into 'master'
[FIX][SDK] autocommit is now a worldcommit See merge request codingame/game-engine!130
2 parents e5c6b16 + f3f5c50 commit b158f0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities/GraphicEntityModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ private void sendFrameData() {
216216

217217
private void autocommit() {
218218
WorldState state = worldStates.computeIfAbsent("1", (key) -> new WorldState("1"));
219+
state.markAsWorldCommit();
219220
state.flushMissingEntities(entities);
220221
}
221222

0 commit comments

Comments
 (0)