Fixes exploit and a tgui issue with Hypo vials

This commit is contained in:
Poojawa
2018-09-24 00:38:15 -05:00
parent 69a8738fc3
commit e5a96114ca
3 changed files with 11 additions and 3 deletions
@@ -53,6 +53,9 @@
if (!mat_container)
return
if(istype(O, /obj/item/stack/ore/bluespace_crystal/refined))
return
ore_buffer -= O
if(O && O.refined_type)
@@ -179,6 +182,11 @@
if(user.transferItemToLoc(W, src))
inserted_disk = W
return TRUE
if(istype(W, /obj/item/stack/ore/bluespace_crystal/refined))
to_chat(user, "<span class='notice'>[W] has already been refined!</span>")
return
return ..()
/obj/machinery/mineral/ore_redemption/multitool_act(mob/living/user, obj/item/multitool/I)