more script fixes

This commit is contained in:
ineedbots
2021-11-11 23:13:37 -06:00
parent 18c67cb334
commit 97236e2e5f
3 changed files with 53 additions and 5 deletions

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()