fix broken browser when SPBA is disabled while SPBADone is set

This commit is contained in:
Not 2022-09-10 18:42:24 +02:00
parent e6aac8b7a1
commit e03c9beecc
1 changed files with 1 additions and 1 deletions

View File

@ -1478,7 +1478,7 @@ local function think()
end
-- disable spba hud
if server.SPBAdone then
if server.SPBArunning and server.SPBAdone then
server.SPBArunning = false
p.pflags = $ & !(PF_TIMEOVER)
p.exiting = 100