mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-19 12:18:03 -04:00
Merge pull request #633 from forkiesassds/patch-3
[Countdown] Set speedtype to default one if speedtype is null
This commit is contained in:
commit
4911fdda35
@ -63,6 +63,10 @@ namespace MCGalaxy.Games {
|
||||
}
|
||||
|
||||
void BeginRound() {
|
||||
if (SpeedType == null || SpeedType == "" || Interval == 0) {
|
||||
Interval = 650;
|
||||
SpeedType = "normal";
|
||||
}
|
||||
string modeSuffix = FreezeMode ? " in freeze mode" : "";
|
||||
Map.Message("Starting " + SpeedType + " speed Countdown" + modeSuffix);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user