Fixed a runtime error where one thing would sometimes try to handle an empty list. Some chance that will still make a jungle map fail to work right, though.

Signed-off-by: Furlucis <Logman115@gmail.com>
This commit is contained in:
Furlucis
2013-06-11 03:18:03 -04:00
parent bb95425628
commit a60dcf473b
@@ -37,6 +37,9 @@
var/list/waypoints = list()
for(var/obj/effect/landmark/temple/destination/T in world)
waypoints.Add(T)
if(!T)
return
else continue
var/obj/effect/landmark/temple/destination/dest_temple = pick(waypoints)
dest_temple.init()