Skip to content

Commit

Permalink
add missing isvalid check
Browse files Browse the repository at this point in the history
  • Loading branch information
CafeFPS committed Oct 26, 2023
1 parent 45f9bad commit 9451320
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vscripts/gamemodes/fs_tdm/_gamemode_fsdm.nut
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,7 @@ void function _OnPlayerConnected(entity player)
void functionref() soloModefixDelayStart1 = void function() : (player) {
Remote_CallFunction_NonReplay( player, "DM_HintCatalog", 3, 0)
wait 1
if ( !IsValid( player ) ) return
TakeAllWeapons( player )
HolsterAndDisableWeapons(player)
wait 9
Expand Down

0 comments on commit 9451320

Please sign in to comment.