Runtime fix:

runtime error: Cannot execute null.ex act().
proc name: explosion (/proc/explosion)
  source file: explosion.dm,52
  usr: 0
  src: null
  call stack:
explosion(space (133,173,1) (/turf/space), 4, 5, 6, 7, 0)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4632 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-09-06 01:55:03 +00:00
parent 2499ce6b6e
commit 46524c533a
+1 -1
View File
@@ -49,7 +49,7 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa
if(T)
for(var/atom_movable in T.contents) //bypass type checking since only atom/movable can be contained by turfs anyway
var/atom/movable/AM = atom_movable
AM.ex_act(dist)
if(AM) AM.ex_act(dist)
var/took = (world.timeofday-start)/10
//You need to press the DebugGame verb to see these now....they were getting annoying and we've collected a fair bit of data. Just -test- changes to explosion code using this please so we can compare