From c8bf601d6de4c0640c9129b78161bca8c0a8da95 Mon Sep 17 00:00:00 2001 From: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Date: Sat, 8 Mar 2025 14:35:54 -0500 Subject: [PATCH] Corrects an error with emagged medical kiosk boards. (#89790) ## About The Pull Request Came across this while scrolling, it's a clear and present error likely due to old copypaste. The Medical Kiosk board has a similar feature to the cargo console where if emagged, the emag state is copied over to the circuit board. The circuit board, however, is typed to literally be a cargo console. There's no point in it being anything other than a circuitboard path for adding the appropriate object flag to the item, and reduces blatantly wrong copypaste. ## Why It's Good For The Game World's smalled code cleanup. Results in less bad copypaste. ## Changelog No player facing changes. --- code/game/machinery/medical_kiosk.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/medical_kiosk.dm b/code/game/machinery/medical_kiosk.dm index 4935749b459..3409bc9bd7a 100644 --- a/code/game/machinery/medical_kiosk.dm +++ b/code/game/machinery/medical_kiosk.dm @@ -178,7 +178,7 @@ user.visible_message(span_warning("[user] waves a suspicious card by the [src]'s biometric scanner!")) balloon_alert(user, "sensors overloaded") obj_flags |= EMAGGED - var/obj/item/circuitboard/computer/cargo/board = circuit + var/obj/item/circuitboard/board = circuit board.obj_flags |= EMAGGED //Mirrors emag status onto the board as well. pandemonium = TRUE return TRUE