mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Grief: fix giving perk on round reset
This commit is contained in:
@ -292,12 +292,14 @@ round_end(winner)
|
||||
{
|
||||
wait 0.5;
|
||||
|
||||
// save weapons for alive players
|
||||
players = get_players();
|
||||
foreach(player in players)
|
||||
{
|
||||
if(is_player_valid(player))
|
||||
{
|
||||
// don't give perk
|
||||
player notify("perk_abort_drinking");
|
||||
// save weapons
|
||||
player [[level._game_module_player_laststand_callback]]();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user