From 46524c533aec9440ae9e53db6b38462bf1ae48a6 Mon Sep 17 00:00:00 2001 From: "elly1989@rocketmail.com" Date: Thu, 6 Sep 2012 01:55:03 +0000 Subject: [PATCH] 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 --- code/game/objects/explosion.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/explosion.dm b/code/game/objects/explosion.dm index c5197265f91..e2975ad9d46 100644 --- a/code/game/objects/explosion.dm +++ b/code/game/objects/explosion.dm @@ -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