forked from SteamWar/SteamWar
Improve update propagation performance
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ public class DynamicRegionCommand extends SWCommand {
|
||||
|
||||
dynamicRegion.getArea().reset(new PasteBuilder(new PasteBuilder.FileProvider(dynamicRegion.getArea().getResetFile())), false);
|
||||
// TODO: This here still has some kind of error!aww
|
||||
DynamicRegionSystem.INSTANCE.getNeighbours(dynamicRegion).forEach(r -> r.update(dynamicRegion));
|
||||
dynamicRegion.updateNeighbours();
|
||||
}
|
||||
|
||||
@Register({"dynamic", "delete"})
|
||||
|
||||
Reference in New Issue
Block a user