added item.deconstructed hook, misc registers and luacs is now initialized before campaign/sub editor is loaded
This commit is contained in:
@@ -1034,6 +1034,8 @@ namespace Barotrauma
|
||||
return true;
|
||||
}
|
||||
|
||||
GameMain.LuaCs.Initialize();
|
||||
|
||||
CloseItem();
|
||||
|
||||
backedUpSubInfo = new SubmarineInfo(MainSub);
|
||||
@@ -1049,8 +1051,6 @@ namespace Barotrauma
|
||||
GameMain.SubEditorScreen.Select();
|
||||
};
|
||||
|
||||
GameMain.LuaCs.Initialize();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user