mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-13 01:06:46 -04:00
Fix map not being properly reset when next map voted is the same as current one for games
This commit is contained in:
parent
3958ecfd90
commit
8b88fe0f85
@ -155,7 +155,10 @@ namespace MCGalaxy.Games {
|
|||||||
|
|
||||||
string map = Picker.ChooseNextLevel(this);
|
string map = Picker.ChooseNextLevel(this);
|
||||||
if (!Running) return;
|
if (!Running) return;
|
||||||
if (map == null) { ContinueOnSameMap(); return; }
|
|
||||||
|
if (map == null || map.CaselessEq(Map.MapName)) {
|
||||||
|
ContinueOnSameMap(); return;
|
||||||
|
}
|
||||||
|
|
||||||
Map.Message("The next map has been chosen - &c" + map);
|
Map.Message("The next map has been chosen - &c" + map);
|
||||||
Map.Message("Please wait while you are transfered.");
|
Map.Message("Please wait while you are transfered.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user