Commit f9c0b949 authored by Christian Winter's avatar Christian Winter

bugfix. applying EditPrefabState before entering new one

parent 8bd6c0ae
Pipeline #4801089 passed with stage
in 3 minutes and 4 seconds
......@@ -40,6 +40,9 @@
}
static editPrefab(id) {
if (Logic.backlogState)
Logic.backlogState.apply();
Logic.backlogState = new EditPrefabState(this.prefabs[id]);
GUI.notify("Editing prefab.", 'green')
}
......
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