Skip to content

Commit

Permalink
Merge pull request #287 from randovania/fix-a3-gamma-crash
Browse files Browse the repository at this point in the history
Fix s036_area3c Gammas Crash
  • Loading branch information
ThanatosGit authored Feb 24, 2024
2 parents cba7b61 + ba2b6de commit b966c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_samus_returns_rando/files/levels/s036_area3c.lua
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function s036_area3c.OnGamma_006_Generated(_ARG_0_, _ARG_1_)
end
end
function s036_area3c.OnEnter_Gamma_006_Dead()
if 0 < Scenario.ReadFromBlackboard("entity_SG_Gamma_006_deaths", 0) then
if 0 < Scenario.ReadFromBlackboard("entity_SG_Gamma_006_deaths", 0) and Scenario.ReadFromBlackboard("Arena_Gamma_007_AllDead", false) then
Game.SetSubAreaCurrentSetup("collision_camera_023", "PostGamma_006", true)
Game.SetSubAreaCurrentSetup("collision_camera_030", "PostGamma_006", true)
if Game.GetEntity("SpawnGroup007") ~= nil then
Expand Down

0 comments on commit b966c0f

Please sign in to comment.