mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Resolved some runtimes for mimic turfs on examine (#20097)
Resolved some runtimes for mimic turfs on examine. All examine headers respect the proc signature. All examine that do not explicitly need not to, passthrough the arglist to references examine target procs.
This commit is contained in:
@@ -35,10 +35,10 @@
|
||||
|
||||
var/force_holder
|
||||
|
||||
/obj/item/gripper/examine(mob/user, show_extended)
|
||||
/obj/item/gripper/examine(mob/user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
. = ..()
|
||||
if(wrapped)
|
||||
wrapped.examine(user, show_extended = show_extended)
|
||||
wrapped.examine(arglist(args))
|
||||
|
||||
/obj/item/gripper/get_examine_text(mob/user, distance, is_adjacent, infix, suffix)
|
||||
. = ..()
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/morph/examine(mob/user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
if(morphed)
|
||||
return form.examine(user)
|
||||
return form.examine(arglist(args))
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
SHOULD_CALL_PARENT(FALSE)
|
||||
|
||||
if(copying)
|
||||
return copying.examine(user, distance, is_adjacent, infix, suffix, show_extended)
|
||||
return copying.examine(arglist(args))
|
||||
else
|
||||
return list("???")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user