diff options
Diffstat (limited to 'Northstar.Custom')
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/_northstar_devcommands.gnut | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/_northstar_devcommands.gnut b/Northstar.Custom/mod/scripts/vscripts/_northstar_devcommands.gnut index e629e5ae..850855a0 100644 --- a/Northstar.Custom/mod/scripts/vscripts/_northstar_devcommands.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/_northstar_devcommands.gnut @@ -23,7 +23,7 @@ bool function ClientCommandCallbackToggleNoclip( entity player, array<string> ar bool function ClientCommandCallbackKill( entity player, array<string> args ) { - if ( IsAlive( player ) && GetConVarInt( "sv_cheats" ) == 1 ) + if ( IsAlive( player ) ) player.Die() return true @@ -31,8 +31,8 @@ bool function ClientCommandCallbackKill( entity player, array<string> args ) bool function ClientCommandCallbackExplode( entity player, array<string> args ) { - if ( IsAlive( player ) && GetConVarInt( "sv_cheats" ) == 1 ) + if ( IsAlive( player ) ) player.Die( null, null, { scriptType = DF_GIB } ) return true -}
\ No newline at end of file +} |