From e6d159fc03f9d2179c050b8100940619108bc441 Mon Sep 17 00:00:00 2001 From: INeedGames Date: Wed, 11 Oct 2023 19:37:49 -0600 Subject: [PATCH] Update _customcallbacks.gsc --- .../AntiCheat/IW5/storage/iw5/scripts/_customcallbacks.gsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GameFiles/AntiCheat/IW5/storage/iw5/scripts/_customcallbacks.gsc b/GameFiles/AntiCheat/IW5/storage/iw5/scripts/_customcallbacks.gsc index e327d1a04..e8a7f0bda 100644 --- a/GameFiles/AntiCheat/IW5/storage/iw5/scripts/_customcallbacks.gsc +++ b/GameFiles/AntiCheat/IW5/storage/iw5/scripts/_customcallbacks.gsc @@ -137,6 +137,8 @@ waitForFrameThread() waitForAdditionalAngles( logString, beforeFrameCount, afterFrameCount ) { + self endon( "disconnect" ); + currentIndex = self.currentAnglePosition; wait( 0.05 * afterFrameCount ); @@ -246,4 +248,4 @@ Callback_PlayerDisconnect() { level notify( "disconnected", self ); self maps\mp\gametypes\_playerlogic::Callback_PlayerDisconnect(); -} \ No newline at end of file +}