mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Cell Block: fix players occasionally spawning up top
This commit is contained in:
@ -516,6 +516,9 @@ player_spawn_override()
|
||||
{
|
||||
spawnpoint.origin += (0, 16, 0);
|
||||
}
|
||||
|
||||
// prevents spawning up top in 3rd Floor zone due to not being enough height clearance
|
||||
spawnpoint.origin += (0, 0, -16);
|
||||
}
|
||||
}
|
||||
else if(level.script == "zm_buried" && level.scr_zm_map_start_location == "street")
|
||||
@ -1953,6 +1956,7 @@ random_map_rotation()
|
||||
|
||||
spawn_bots(num)
|
||||
{
|
||||
num = 2;
|
||||
if(getDvar("sv_hostname") != "Private Match")
|
||||
{
|
||||
return;
|
||||
@ -1975,4 +1979,11 @@ spawn_bots(num)
|
||||
level.bots[i] = addtestclient();
|
||||
}
|
||||
}
|
||||
|
||||
while(1)
|
||||
{
|
||||
player iprintln("player.origin: " + player.origin);
|
||||
|
||||
wait 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user