mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-25 04:56:29 +01:00
Fixes #8258.
Main correction is the removal of Topic() in code/game/machinery/computer/computer.dm. Issue introduced in #7617 where I stated multiple times this Topic()-return value was incorrect. Ensures that computers return the correct value after the ..() check.
This commit is contained in:
@@ -109,12 +109,6 @@
|
||||
if(istype(user, /mob/dead/observer)) return 0
|
||||
return ..()
|
||||
|
||||
/obj/machinery/computer/Topic(href, href_list)
|
||||
/* Can't use topic as observer by default */
|
||||
if(istype(usr, /mob/dead/observer)) return 0
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/machinery/computer/attackby(I as obj, user as mob)
|
||||
if(istype(I, /obj/item/weapon/screwdriver) && circuit)
|
||||
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user