From 46d7a67f3b5e08d8f919e45ef4a95ee923b4048b Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Thu, 1 Dec 2022 15:18:16 +0100 Subject: [PATCH] Mark Canvas variables as transient. --- zscript/eightball.zsc | 2 +- zscript/flakcannon.zsc | 2 +- zscript/minigun.zsc | 2 +- zscript/pulsegun.zsc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zscript/eightball.zsc b/zscript/eightball.zsc index f6fa4cb..37d7825 100644 --- a/zscript/eightball.zsc +++ b/zscript/eightball.zsc @@ -295,7 +295,7 @@ Class UTRocketLauncher : UTWeapon int locktics; bool bSingleRocket; - ui Canvas AmmoLed; + transient ui Canvas AmmoLed; ui TextureID LedBase, LedFont; ui TextureID lockontex; diff --git a/zscript/flakcannon.zsc b/zscript/flakcannon.zsc index a236269..ba452cc 100644 --- a/zscript/flakcannon.zsc +++ b/zscript/flakcannon.zsc @@ -635,7 +635,7 @@ Class FlakMag : UTCasing Class FlakCannon : UTWeapon { - ui Canvas AmmoLed; + transient ui Canvas AmmoLed; ui TextureID LedFont; override void RenderOverlay( RenderEvent e ) diff --git a/zscript/minigun.zsc b/zscript/minigun.zsc index 881259a..0f9d11d 100644 --- a/zscript/minigun.zsc +++ b/zscript/minigun.zsc @@ -74,7 +74,7 @@ Class Minigun : UTWeapon { int bcnt, tcnt; - ui Canvas AmmoLed; + transient ui Canvas AmmoLed; ui TextureID LedBase, LedFont; override void RenderOverlay( RenderEvent e ) diff --git a/zscript/pulsegun.zsc b/zscript/pulsegun.zsc index 2a7bc61..b33be94 100644 --- a/zscript/pulsegun.zsc +++ b/zscript/pulsegun.zsc @@ -587,7 +587,7 @@ Class PulseGun : UTWeapon Property ClipCount : clipcount; - ui Canvas AmmoLed; + transient ui Canvas AmmoLed; ui TextureID LedFont, LedBase, CountBar; int OldSkin;