Skip to content

Commit

Permalink
Revert 26070dd
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoTheMutant committed Jul 30, 2024
1 parent 868dabe commit f7ec2c0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions SRC/LUA/GAME.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,8 @@ addHook("PlayerThink", function(p)
if (p.afk == afkCVAR.value*2100) then MM_PunishPlayer(p, "AFK") end
else p.afk = 0 end

--Make players who left the game shootable (in case REJOINTIMEOUT cvar is enabled)
if (rejointimeoutCVAR.value) and (p.quittime)
p.powers[pw_flashing] = 0
if (valid(p.mo)) then p.mo.flags2 = $ & ~MF2_DONTDRAW end
end
--Eliminate players who left the game (in case REJOINTIMEOUT cvar is enabled)
if (rejointimeoutCVAR.value) and (p.quittime) then MM_PlayerQuit(p) end

--Anti-RenameCheat
if ((p.name != p.oldname) and (p.spectator)) then MM_PunishPlayer(p, "Do not rename when dead!") end
Expand Down

0 comments on commit f7ec2c0

Please sign in to comment.