feat(iw5): marathon perk
This commit is contained in:
@ -28,6 +28,7 @@ onPlayerConnect()
|
||||
|
||||
player thread jumper();
|
||||
player thread displaySpeed();
|
||||
player thread onPlayerSpawned();
|
||||
}
|
||||
}
|
||||
|
||||
@ -115,3 +116,15 @@ jumper()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onPlayerSpawned()
|
||||
{
|
||||
GENERIC_COROUTINE_END;
|
||||
|
||||
while ( true )
|
||||
{
|
||||
self waittill( "spawned_player" );
|
||||
|
||||
self setPerk( "specialty_marathon", true, false );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user