Commit 542a3cfc authored by wulf's avatar wulf Committed by Melledy
Browse files

fix scence block loading bug

parent afa3747f
...@@ -166,7 +166,7 @@ public class SceneScriptManager { ...@@ -166,7 +166,7 @@ public class SceneScriptManager {
List<SceneBlock> blocks = ScriptLoader.getSerializer().toList(SceneBlock.class, bindings.get("block_rects")); List<SceneBlock> blocks = ScriptLoader.getSerializer().toList(SceneBlock.class, bindings.get("block_rects"));
for (int i = 0; i < blocks.size(); i++) { for (int i = 0; i < blocks.size(); i++) {
SceneBlock block = blocks.get(0); SceneBlock block = blocks.get(i);
block.id = blockIds.get(i); block.id = blockIds.get(i);
loadBlockFromScript(block); loadBlockFromScript(block);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment