From 8cf32e8652653fce6c68a7ed7983dbe7b95133ea Mon Sep 17 00:00:00 2001 From: loop <126372784+tribes2@users.noreply.github.com> Date: Tue, 21 Oct 2025 00:17:34 +0100 Subject: [PATCH] initGameVars moved to missionLoadDone --- .gitignore | 1 + scripts/SkillSectorGame.cs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index d89b198..15142b1 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ editor/ lighting/ prefs/ gui/ +recordings/ Classic* # scripts folder need to be ignored and then exclusions have to be carved out diff --git a/scripts/SkillSectorGame.cs b/scripts/SkillSectorGame.cs index 0a0487d..0e30ab2 100644 --- a/scripts/SkillSectorGame.cs +++ b/scripts/SkillSectorGame.cs @@ -20,6 +20,12 @@ package SkillSector { }; function SkillSector::initGameVars(%game) { +} + + +function SkillSector::missionLoadDone(%game) { + DefaultGame::missionLoadDone(%game); + AimTrainerInit(); WaypointWranglerInit(); }