1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-21 12:40:20 -05:00

Encounter: add minimum points on respawn

This commit is contained in:
Jbleezy
2023-03-24 08:50:04 -07:00
parent 19fb040158
commit 4078222d65

View File

@ -846,6 +846,20 @@ on_player_spawned()
self freezeControls(1);
self enableInvulnerability();
}
if (is_respawn_gamemode())
{
min_points = level.player_starting_points;
if (min_points > 1500)
{
min_points = 1500;
}
if (self.score < min_points)
{
self.score = min_points;
}
}
}
}