aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/burnmeter
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-11-04 00:01:47 +0000
committerGitHub <noreply@github.com>2024-11-04 01:01:47 +0100
commit730616d4ceef904cf8a286837249a75cd886fbb2 (patch)
tree48155c4f43a69abfb18adde8d0865d4784d8c9da /Northstar.Custom/mod/scripts/vscripts/burnmeter
parent9b83a632621264e28dd1724b90d381727c83d941 (diff)
downloadNorthstarMods-1.28.4.tar.gz
NorthstarMods-1.28.4.zip
Replace uses of `disconnect` with `NSDisconnectPlayer` (#841)v1.28.4-rc3v1.28.4
As we want to remove `FCVAR_SERVER_CAN_EXECUTE` flag from `disconnect`.
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/burnmeter')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut b/Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut
index 37d4356f..10bca342 100644
--- a/Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut
@@ -207,7 +207,7 @@ string function GetSelectedBurnCardRef( entity player )
#if SERVER
if ( GetItemDisplayData( ref ).hidden )
- ClientCommand( player, "disconnect" )
+ NSDisconnectPlayer( player, "" )
#endif
#if SERVER || CLIENT