mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
Rewrite examine() to pass a list around
This commit is contained in:
@@ -68,8 +68,9 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
var/spam_proof = FALSE // If true, it can't be spammed by random events.
|
||||
|
||||
/obj/item/device/pda/examine(mob/user)
|
||||
if(..(user, 1))
|
||||
to_chat(user, "The time [stationtime2text()] is displayed in the corner of the screen.")
|
||||
. = ..()
|
||||
if(Adjacent(user))
|
||||
. += "The time [stationtime2text()] is displayed in the corner of the screen."
|
||||
|
||||
/obj/item/device/pda/CtrlClick()
|
||||
if(issilicon(usr))
|
||||
|
||||
Reference in New Issue
Block a user