-Added an "inuse" check for the Light Replacer.

-The Light Replacer will drop the replaced lights once again.
-Fixed a runtime with the Plantbag and the All-In-One grinder.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4175 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-07-25 23:28:45 +00:00
parent 1f1784c2d2
commit 365cdb4a60
2 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -748,7 +748,8 @@
if((holdingitems && holdingitems.len >= limit) || beaker.reagents.total_volume >= 80) //Sanity checking so the blender doesn't overfill
user << "You fill the All-In-One grinder to the brim."
break
if(src.contents.len < limit && src.reagents.total_volume < 80)
if(!O.contents.len)
user << "You empty the plant bag into the All-In-One grinder."
src.updateUsrDialog()