From 730616d4ceef904cf8a286837249a75cd886fbb2 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Mon, 4 Nov 2024 00:01:47 +0000 Subject: Replace uses of `disconnect` with `NSDisconnectPlayer` (#841) As we want to remove `FCVAR_SERVER_CAN_EXECUTE` flag from `disconnect`. --- Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Northstar.Custom/mod/scripts/vscripts/burnmeter/sh_burnmeter.gnut') 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 -- cgit v1.2.3