From 700e28363cd3abf3de40aa57457eff38f428fb8b Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Sun, 11 Jul 2021 01:54:37 -0400 Subject: [PATCH] Fix crafting menu failing to open --- code/datums/components/crafting/crafting.dm | 2 +- code/modules/nifsoft/nif_tgui.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/crafting/crafting.dm b/code/datums/components/crafting/crafting.dm index e823199af34..b5db9fd6f3b 100644 --- a/code/datums/components/crafting/crafting.dm +++ b/code/datums/components/crafting/crafting.dm @@ -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) diff --git a/code/modules/nifsoft/nif_tgui.dm b/code/modules/nifsoft/nif_tgui.dm index b5978242c4e..860493391e2 100644 --- a/code/modules/nifsoft/nif_tgui.dm +++ b/code/modules/nifsoft/nif_tgui.dm @@ -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)