Merge pull request #6186 from Dorsisdwarf/Chemoverlaysreal

Chemdispenser Overlays [feature]
This commit is contained in:
tkdrg
2015-01-03 02:26:10 -03:00
2 changed files with 2 additions and 0 deletions
@@ -138,6 +138,7 @@
var/obj/item/weapon/reagent_containers/glass/B = beaker
B.loc = loc
beaker = null
overlays -= "disp_beaker"
add_fingerprint(usr)
return 1 // update UIs attached to this object
@@ -158,6 +159,7 @@
B.loc = src
user << "You add the beaker to the machine!"
nanomanager.update_uis(src) // update all UIs attached to src
overlays += "disp_beaker"
/obj/machinery/chem_dispenser/attack_ai(mob/user as mob)
return src.attack_hand(user)