Merge pull request #5814 from VOREStation/upstream-merge-6443

[MIRROR] Fixes runtime in library computers
This commit is contained in:
Novacat
2019-09-07 20:10:07 -04:00
committed by GitHub
+2 -2
View File
@@ -214,8 +214,8 @@ Class Procs:
/obj/machinery/CanUseTopic(var/mob/user)
if(!interact_offline && (stat & (NOPOWER | BROKEN)))
return STATUS_CLOSE
return ..()
// return ..() // This doesn't call the parent with the correct number of arguments (causing a runtime in /code/modules/nano/interaction/base.dm), nor easily provide any indication as to what the datum/topic_state should be, so this is clearly the wrong action.
return STATUS_INTERACTIVE
/obj/machinery/CouldUseTopic(var/mob/user)
..()