mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-18 09:39:49 +01:00
Fixes runtime in machinery/CanUseTopic() not providing correct number of arguments to ..() (#6443)
This commit is contained in:
@@ -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)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user