diff options
Diffstat (limited to 'editor/main.cpp')
| -rw-r--r-- | editor/main.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/editor/main.cpp b/editor/main.cpp index af0e66a..2dee016 100644 --- a/editor/main.cpp +++ b/editor/main.cpp @@ -23,10 +23,12 @@ int main(int argc, char *argv[]) { { pkeSettings.isSimulationPaused = true; pkeSettings.isShowingEditor = true; - pkePlugin.OnInit = PkeEditor_Init; - pkePlugin.OnTick = PkeEditor_Tick; - pkePlugin.OnTeardown = PkeEditor_Teardown; - pkePlugin.OnImGuiRender = PkeEditor_RecordImGui; + LoadedPkePlugins.Push({ + .OnInit = PkeEditor_Init, + .OnTick = PkeEditor_Tick, + .OnTeardown = PkeEditor_Teardown, + .OnImGuiRender = PkeEditor_RecordImGui, + }); } // run PkeArgs_Parse(argc, argv); |
