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:
@ -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();
|
||||||
|
Reference in New Issue
Block a user