mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
by default mission type is custom if non existent
This commit is contained in:
parent
d7407f19f2
commit
c7b9ae2825
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class Mission {
|
|||
if (missionInfo.goldtime != null) {
|
||||
mission.goldTime = MisParser.parseNumber(missionInfo.goldtime) / 1000;
|
||||
}
|
||||
mission.type = missionInfo.type.toLowerCase();
|
||||
mission.type = missionInfo.type != null ? missionInfo.type.toLowerCase() : "custom";
|
||||
mission.missionInfo = missionInfo;
|
||||
return mission;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue