mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Fix zombie survival not changing map after initial round.
This commit is contained in:
parent
2b06416426
commit
6f1f89d1be
@ -133,6 +133,7 @@ namespace MCGalaxy.Games {
|
||||
CurLevel.ChatLevel("The next map has been chosen - " + Colors.red + next.ToLower());
|
||||
CurLevel.ChatLevel("Please wait while you are transfered.");
|
||||
}
|
||||
string lastLevel = CurLevelName;
|
||||
|
||||
CurLevelName = next;
|
||||
QueuedLevel = null;
|
||||
@ -145,7 +146,7 @@ namespace MCGalaxy.Games {
|
||||
foreach (Player pl in online) {
|
||||
pl.Game.RatedMap = false;
|
||||
pl.Game.PledgeSurvive = false;
|
||||
if (!pl.level.name.CaselessEq(next) && pl.level.name.CaselessEq(LastLevelName)) {
|
||||
if (!pl.level.name.CaselessEq(next) && pl.level.name.CaselessEq(lastLevel)) {
|
||||
pl.SendMessage("Going to the next map - &a" + next);
|
||||
PlayerActions.ChangeMap(pl, next);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user