mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 23:29:12 +00:00
fix scr_error
This commit is contained in:
parent
93e141be17
commit
81c2e422d4
@ -22,6 +22,7 @@ onPlayerConnect()
|
||||
onPlayerSpawned()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
self waittill( "spawned_player" );
|
||||
@ -33,7 +34,8 @@ onPlayerSpawned()
|
||||
|
||||
destoryHPdraw()
|
||||
{
|
||||
self waittill_either("disconnect", "death");
|
||||
self endon( "disconnect" );
|
||||
self waittill( "death" );
|
||||
self.drawHP destroy();
|
||||
self.drawSpeed destroy();
|
||||
}
|
||||
@ -53,6 +55,7 @@ drawHP()
|
||||
self endon( "disconnect" );
|
||||
self endon( "death" );
|
||||
self initHPdraw();
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
//self.drawHP setText("HP: "+self.health+" KS: "+self.pers["cur_kill_streak"]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user