iw5: more cursed macros (#2)
All checks were successful
Build / build-linux (push) Successful in 7s
All checks were successful
Build / build-linux (push) Successful in 7s
This commit was merged in pull request #2.
This commit is contained in:
@@ -30,7 +30,8 @@ _ON_PLAYER_CNCT_BEGIN
|
||||
|
||||
player thread jumper();
|
||||
player thread displaySpeed();
|
||||
player thread onPlayerSpawned();
|
||||
|
||||
_ON_PLAYER_SPAWNED_COROUTINE( player );
|
||||
|
||||
_ON_PLAYER_CNCT_END
|
||||
|
||||
@@ -119,14 +120,8 @@ jumper()
|
||||
}
|
||||
}
|
||||
|
||||
onPlayerSpawned()
|
||||
{
|
||||
GENERIC_COROUTINE_END;
|
||||
|
||||
while ( true )
|
||||
{
|
||||
self waittill( "spawned_player" );
|
||||
_ON_PLAYER_SPAWNED_BEGIN
|
||||
|
||||
self setPerk( "specialty_marathon", true, false );
|
||||
}
|
||||
}
|
||||
|
||||
_ON_PLAYER_SPAWNED_END
|
||||
|
||||
Reference in New Issue
Block a user