fix more duplicate procs (#30232)

* fix more duplicate procs

* gah
This commit is contained in:
warriorstar-orion
2025-08-26 01:51:17 +00:00
committed by GitHub
parent cc9dfdc59c
commit e3c177e27b
12 changed files with 27 additions and 47 deletions
-5
View File
@@ -857,11 +857,6 @@
for(var/obj/item/mod/module/module as anything in modules)
module.extinguish_light(force)
/obj/item/mod/control/hear_talk(mob/living/user, list/message_pieces)
if(bag)
for(var/obj/object in bag)
object.hear_talk(user, message_pieces)
/obj/item/mod/control/hear_message(mob/living/user, msg)
if(bag)
for(var/obj/object in bag)
+4
View File
@@ -102,6 +102,10 @@
/obj/item/mod/control/hear_talk(mob/living/M, list/message_pieces)
. = ..()
if(bag)
for(var/obj/object in bag)
object.hear_talk(M, message_pieces)
if(M != wearer || !mod_link.visual)
return
if(ishuman(M))