Skip to content

Commit

Permalink
mirrored change to mod loader script
Browse files Browse the repository at this point in the history
  • Loading branch information
talon-d committed Dec 6, 2024
1 parent c35d597 commit df7f58a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion binaries/mod_loader
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ local StateLoadAudioSettings = require("scripts/game_states/boot/state_load_audi
local StateLoadBootAssets = require("scripts/game_states/boot/state_load_boot_assets")
local StateLoadRenderSettings = require("scripts/game_states/boot/state_load_render_settings")
local StateRequireScripts = require("scripts/game_states/boot/state_require_scripts")
local GameStateDebug = require("scripts/utilities/game_state_debug")
local GAME_RESUME_COUNT = 0

Main.init = function (self)
Expand Down Expand Up @@ -381,8 +382,10 @@ Main.init = function (self)
Wwise.load_bank("wwise/world_sound_fx")
end

rawset(_G, "GameStateDebugInfo", GameStateDebug:new())

self._package_manager = package_manager
self._sm = GameStateMachine:new(nil, StateBoot, params, nil, nil, "Main", true)
self._sm = GameStateMachine:new(nil, StateBoot, params, nil, nil, "", "Main", true)

-- #######################
-- ## Mod intialization ##
Expand Down

0 comments on commit df7f58a

Please sign in to comment.