v3.2.6 FIX: Corrected startup sequence to prevent resetGame() from silencing the Experience Sentinel

This commit is contained in:
RebeccaNod1 2026-04-05 11:26:10 -06:00
parent 478a808676
commit 853a82a982

View file

@ -343,12 +343,12 @@ default {
// Initialize channels for external communication // Initialize channels for external communication
initializeChannels(); initializeChannels();
// Experience Sentinel check
checkExperience();
// Reset the game on startup to ensure clean state // Reset the game on startup to ensure clean state
resetGame(); resetGame();
// Experience Sentinel check - Moved after reset to protect timer
checkExperience();
dbg("✅ Main Controller initialization complete!"); dbg("✅ Main Controller initialization complete!");
} }
@ -364,12 +364,12 @@ default {
// Re-initialize channels for external communication // Re-initialize channels for external communication
initializeChannels(); initializeChannels();
// Experience Sentinel check
checkExperience();
// Reset the game to ensure clean state when rezzed // Reset the game to ensure clean state when rezzed
resetGame(); resetGame();
// Experience Sentinel check - Moved after reset to protect timer
checkExperience();
dbg("✅ Main Controller reset complete after rez!"); dbg("✅ Main Controller reset complete after rez!");
} }