more script fixes

This commit is contained in:
guy committed 2021-11-11 23:13:37 -06:00
1 parent 18c67cb334
commit 97236e2e5f
3 files changed
+53 -5

No files matched your search

+6 -2
View File
@@ -36,8 +36,12 @@ destoryHPdraw()
{
self endon( "disconnect" );
self waittill( "death" );
self.drawHP destroy();
self.drawSpeed destroy();
if ( isDefined( self.drawHP ) )
self.drawHP destroy();
if ( isDefined( self.drawSpeed ) )
self.drawSpeed destroy();
}
initHPdraw()