iw5: more cursed macros (#2)
All checks were successful
Build / build-linux (push) Successful in 7s

This commit was merged in pull request #2.
This commit is contained in:
2024-03-21 09:28:02 +00:00
parent f1406bfb4f
commit 88d6e6add8
4 changed files with 23 additions and 11 deletions

View File

@@ -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