This commit is contained in:
@ -3,6 +3,7 @@
|
||||
init()
|
||||
{
|
||||
setDvar( "bg_bounces", 1 );
|
||||
setDvar( "player_sustainAmmo", 1 ); // Requires sv_cheats
|
||||
|
||||
thread onPlayerConnect();
|
||||
}
|
||||
@ -33,7 +34,7 @@ onPlayerSpawned()
|
||||
{
|
||||
self endon( "disconnect" );
|
||||
|
||||
for ( ;; )
|
||||
while ( true )
|
||||
{
|
||||
self waittill( "spawned_player" );
|
||||
|
||||
@ -57,7 +58,7 @@ onWeaponFired()
|
||||
level endon( "game_ended" );
|
||||
self endon( "disconnected" );
|
||||
|
||||
for ( ;; )
|
||||
while ( true )
|
||||
{
|
||||
self waittill( "weapon_fired", weapon );
|
||||
|
||||
@ -92,7 +93,7 @@ displaySpeed()
|
||||
if ( isDefined( self.last_rpg_shot ) && self.last_rpg_shot != 0 )
|
||||
{
|
||||
late = getTime() - self.last_rpg_shot;
|
||||
if (late < 500)
|
||||
if (late <= 500)
|
||||
{
|
||||
iPrintLn( "Late RPG (+" + (late) + ")" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user