From e4535e09a00536ed872d416244fa32a6182c0b94 Mon Sep 17 00:00:00 2001 From: INSANEMODE Date: Fri, 2 Jun 2023 11:44:36 -0500 Subject: [PATCH] Patch game interface (#305) * remove extra set of parentheses in call to DisplaypopupsWaiter() * add missing event argument in call to GotoCoordImpl() * remove event arg from GotoCoordImpl() in t6 to match other game interface scripts --- GameFiles/GameInterface/_integration_t6.gsc | 2 +- GameFiles/GameInterface/_integration_t6zm_helper.gsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GameFiles/GameInterface/_integration_t6.gsc b/GameFiles/GameInterface/_integration_t6.gsc index 18323bf83..8476f6060 100644 --- a/GameFiles/GameInterface/_integration_t6.gsc +++ b/GameFiles/GameInterface/_integration_t6.gsc @@ -302,7 +302,7 @@ GotoImpl( event, data ) } } -GotoCoordImpl( event, data ) +GotoCoordImpl( data ) { if ( !IsAlive( self ) ) { diff --git a/GameFiles/GameInterface/_integration_t6zm_helper.gsc b/GameFiles/GameInterface/_integration_t6zm_helper.gsc index 22ea47eec..59f4389d3 100644 --- a/GameFiles/GameInterface/_integration_t6zm_helper.gsc +++ b/GameFiles/GameInterface/_integration_t6zm_helper.gsc @@ -12,7 +12,7 @@ OnPlayerConnect() for ( ;; ) { level waittill( "connecting", player ); - player thread DisplaypopupsWaiter()(); + player thread DisplaypopupsWaiter(); } }