-Fix for runtime errors when shuttles move.

Apparently the list holds unsimulated turf, which came from the shuttle, even though the list type is for simulated turf only. Because of this it was generating runtime errors. I made the foreach loop do a type check to fix this issue for now.

-Instead of an admin message, edited minds will instead just log.

Requested by Kor.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4741 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-09-23 16:29:51 +00:00
parent b37ad5df02
commit ff4f9a7699
2 changed files with 18 additions and 19 deletions

View File

@@ -277,8 +277,7 @@ datum
return 1
process_update_tiles()
for(var/turf in tiles_to_update)
var/turf/simulated/T = turf
for(var/turf/simulated/T in tiles_to_update)
T.update_air_properties()
/*
for(var/obj/movable/floor/O in tiles_to_update)