Skip to content

Commit f3f5c50

Browse files
committed
fix(sdk): autocommit is now a worldcommit
1 parent e5c6b16 commit f3f5c50

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)