mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
-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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user