Fixes map_config validation

This commit is contained in:
Jordan Brown
2017-10-29 11:25:50 -04:00
committed by CitadelStationBot
parent fd2705b6e6
commit 37fdf365a5

View File

@@ -96,8 +96,14 @@
log_world("Map file ([path]) does not exist!")
return
<<<<<<< HEAD
if(json["transition_config"] != "default")
if(!islist(json["transition_config"]))
=======
var/tc = json["transition_config"]
if(tc != null && tc != "default")
if(!islist(tc))
>>>>>>> 9375965... Fixes map_config validation (#32206)
log_world("transition_config is not a list!")
return