1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-13 00:28:03 -05:00

Grief: fix players being able to move for a frame on initial spawn

This commit is contained in:
Jbleezy
2021-12-15 10:21:48 -08:00
parent 7b6b5b4059
commit a31ecbd7cf

View File

@ -479,6 +479,7 @@ round_start_wait(time, initial)
players = get_players(); players = get_players();
foreach(player in players) foreach(player in players)
{ {
player.hostmigrationcontrolsfrozen = 1; // fixes players being able to move for a frame after initial_blackscreen_passed
player disableWeapons(); player disableWeapons();
} }
@ -504,6 +505,7 @@ round_start_wait(time, initial)
players = get_players(); players = get_players();
foreach(player in players) foreach(player in players)
{ {
player.hostmigrationcontrolsfrozen = 0;
player freezeControls(0); player freezeControls(0);
player disableInvulnerability(); player disableInvulnerability();
player enableWeapons(); player enableWeapons();