mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
Merge pull request #1535 from Neerti/5/2/2016_runtime_fixes
Fixes two very common runtimes
This commit is contained in:
@@ -166,6 +166,8 @@ var/list/slot_equipment_priority = list( \
|
||||
return slot
|
||||
|
||||
/mob/proc/removeItem(var/obj/item/I, var/atom/T = loc, var/force = 0)
|
||||
if(!I) // Nothing to remove, so we succeed.
|
||||
return 1
|
||||
if(!force && !src.canUnEquip(I))
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user