Splashing and external transfer now checks if the container is open
This commit is contained in:
mwerezak
2015-12-06 02:49:46 -05:00
parent de1f869af3
commit 2312631508
+1 -1
View File
@@ -301,7 +301,7 @@
return splash_mob(target, amount, copy)
if(isturf(target))
return trans_to_turf(target, amount, multiplier, copy)
if(isobj(target))
if(isobj(target) && target.is_open_container())
return trans_to_obj(target, amount, multiplier, copy)
return 0