Fixes for menus and abuses

No more shit and giggles
This commit is contained in:
Razharas
2014-05-04 22:56:19 -04:00
committed by ZomgPonies
parent 8ee92a0f81
commit 9763c1349b
+4 -1
View File
@@ -337,8 +337,11 @@ var/global/datum/crafting_controller/crafting_master
if(usr.stat || !holder.Adjacent(usr) || usr.lying)
return
if(href_list["make"])
var/datum/crafting_recipe/TR = locate(href_list["make"])
if(busy)
return
busy = 1
interact(usr)
var/datum/crafting_recipe/TR = locate(href_list["make"])
if(construct_item(usr, TR))
usr << "<span class='notice'>[TR.name] constructed.</span>"
else