Fix crafting menu failing to open

This commit is contained in:
Aronai Sieyes
2021-07-11 01:54:37 -04:00
parent 2638f39675
commit 700e28363c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -357,7 +357,7 @@
container.close_all()
qdel(DL)
/datum/component/personal_crafting/proc/component_ui_interact(/obj/screen/craft/image, location, control, params, user)
/datum/component/personal_crafting/proc/component_ui_interact(source, location, control, params, user)
// SIGNAL_HANDLER
if(user == parent)
+1 -1
View File
@@ -60,7 +60,7 @@
user.verbs |= /mob/living/carbon/human/proc/nif_menu
/datum/component/nif_menu/proc/nif_menu_click(obj/screen/nif/image, location, control, params, user)
/datum/component/nif_menu/proc/nif_menu_click(source, location, control, params, user)
var/mob/living/carbon/human/H = user
if(istype(H) && H.nif)
INVOKE_ASYNC(H.nif, .proc/tgui_interact, user)