From 719c6a3b31d693a978d10f34dba501c15f787c92 Mon Sep 17 00:00:00 2001 From: Miniature Date: Wed, 4 Jan 2012 03:22:07 +1030 Subject: [PATCH] Don't ask me why this didn't work already, another runtime fixed --- code/modules/recycling/disposal.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index e4a15e3b6b1..e10ccec4d5b 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -95,7 +95,7 @@ return else - if(isnull(I)) + if(!I || isnull(I)) //CRASH("disposal/attackby() was called, but I was nulled before calling user.drop_item()") return // No idea why, but somehow I gets nulled before it goes into the else, and that leads to a lot of spam with runtime errors.