Health and Stack Fixes

This commit is contained in:
Fox-McCloud
2015-03-01 01:07:14 -05:00
parent 43783ca583
commit a7f631f364
16 changed files with 67 additions and 72 deletions
+2 -2
View File
@@ -184,9 +184,9 @@
continue
oldsrc.attackby(item, usr)
usr << "You add new [item.singular_name] to the stack. It now contains [item.amount] [item.singular_name]\s."
if(!oldsrc)
if(oldsrc.amount <= 0)
break
update_icon()
oldsrc.update_icon()
/obj/item/stack/proc/get_amount()
return amount