Fixing more compiler issues, still broken

This commit is contained in:
2024-04-19 23:14:03 +02:00
parent d3ac9f19a2
commit 4c7cfb44ce
18 changed files with 102 additions and 93 deletions

View File

@ -179,7 +179,7 @@ export class AppSettings {
}
get_universe() {
this.universes.universe_name;
this.universes["universe_name"];
}
get data(): Settings {
@ -356,7 +356,7 @@ export const loadUniverse = (
// Updating the editor View to reflect the selected universe
app.updateEditorView();
// Evaluating the initialisation script for the selected universe
tryEvaluate(app, app.universes[app.selected_universe.toString()].init);
tryEvaluate(app, app.universes[app.selected_universe.toString()]!.init);
};
export const openUniverseModal = (): void => {