mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Bugfix: The feature to dissolve pills in a container with reagents in it now works.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4792 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
|
||||
afterattack(obj/target, mob/user , flag)
|
||||
|
||||
if(target.is_open_container() == 1 && target.reagents)
|
||||
if(target.is_open_container() != 0 && target.reagents)
|
||||
if(!target.reagents.total_volume)
|
||||
user << "\red [target] is empty. Cant dissolve pill."
|
||||
return
|
||||
@@ -168,4 +168,4 @@
|
||||
icon_state = "pill18"
|
||||
New()
|
||||
..()
|
||||
reagents.add_reagent("bicaridine", 30)
|
||||
reagents.add_reagent("bicaridine", 30)
|
||||
|
||||
Reference in New Issue
Block a user