diff --git a/code/modules/modular_computers/computers/item/computer_ui.dm b/code/modules/modular_computers/computers/item/computer_ui.dm index 0e0463d6f9a..b05285980d4 100644 --- a/code/modules/modular_computers/computers/item/computer_ui.dm +++ b/code/modules/modular_computers/computers/item/computer_ui.dm @@ -16,12 +16,6 @@ if(!user.can_read(src, READING_CHECK_LITERACY)) return - if(ishuman(user) && !allow_chunky) - var/mob/living/carbon/human/human_user = user - if(human_user.check_chunky_fingers()) - balloon_alert(human_user, "fingers are too big!") - return - // Robots don't really need to see the screen, their wireless connection works as long as computer is on. if(!screen_on && !issilicon(user)) if(ui) @@ -103,6 +97,12 @@ if(.) return + if(ishuman(usr) && !allow_chunky) //in /datum/computer_file/program/ui_act() too + var/mob/living/carbon/human/human_user = usr + if(human_user.check_chunky_fingers()) + balloon_alert(human_user, "fingers are too big!") + return TRUE + switch(action) if("PC_exit") kill_program() diff --git a/code/modules/modular_computers/file_system/program.dm b/code/modules/modular_computers/file_system/program.dm index ac96f74922f..84532e4f517 100644 --- a/code/modules/modular_computers/file_system/program.dm +++ b/code/modules/modular_computers/file_system/program.dm @@ -218,6 +218,12 @@ if(.) return + if(ishuman(usr) && !computer.allow_chunky) //in /obj/item/modular_computer/ui_act() too + var/mob/living/carbon/human/human_user = usr + if(human_user.check_chunky_fingers()) + computer.balloon_alert(human_user, "fingers are too big!") + return TRUE + if(computer) switch(action) if("PC_exit")