Skip to content

Commit

Permalink
disable escape spawner when game is over
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiskster committed Oct 9, 2024
1 parent dd330e1 commit 9591238
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Lua/Gimmicks/escapespawner.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ addHook("ThinkFrame", function()
if not (PTSR.ESLOCATIONS.loaded) then return end
if not leveltime then return end -- man srb2 sucks
if not PTSR.IsPTSR() then return end
if PTSR.gameover then return end

local cyclesleft = 50

while cyclesleft > 0 do
Expand Down

0 comments on commit 9591238

Please sign in to comment.