Don't ask me why this didn't work already, another runtime fixed

This commit is contained in:
Miniature
2012-01-04 03:22:07 +10:30
parent 8aba29cc9c
commit 719c6a3b31

View File

@@ -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.