From 1ad69e8c7cc3746354582b807c16ca9b5a56fff3 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 1 Jul 2023 20:09:52 +0200 Subject: [PATCH] [MIRROR] Fixes the ORM not correcty granting mining points if adding ore by hand [MDB IGNORE] (#22171) * Fixes the ORM not correcty granting mining points if adding ore by hand (#76447) ## About The Pull Request This was an oversight from back when material datums were redone. Ideally you should still be dumping your ore on the floor so the ORM can slurp it up, but if for some reason you just want to add it by hand, this works fine. ## Why It's Good For The Game Consistency good. Fixes #76409 ## Changelog :cl: Vekter fix: Fixed the ORM not granting mining points if you added ore by hand instead of dumping it on the floor. /:cl: * Fixes the ORM not correcty granting mining points if adding ore by hand --------- Co-authored-by: Vekter --- code/modules/mining/machine_redemption.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/machine_redemption.dm b/code/modules/mining/machine_redemption.dm index f3a4278c2fe..9ed337f9d56 100644 --- a/code/modules/mining/machine_redemption.dm +++ b/code/modules/mining/machine_redemption.dm @@ -210,7 +210,8 @@ if(isnull(O.refined_type)) to_chat(user, span_warning("[O] has already been refined!")) return - + smelt_ore(O) + return TRUE return ..() /obj/machinery/mineral/ore_redemption/AltClick(mob/living/user)