Skip to content

Commit 2f5ba64

Browse files
authored
whoops (#1153)
1 parent d2fc4e8 commit 2f5ba64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/datums/callback.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* ## USAGE
66
*
77
* ```
8-
* var/datum/callback/C = new(object|null, GLOBAL_PROC_REF(type/path|"procstring"), arg1, arg2, ... argn)
8+
* var/datum/callback/C = new(object|null, PROC_REF(procname), arg1, arg2, ... argn)
99
* var/timerid = addtimer(C, time, timertype)
1010
* you can also use the compiler define shorthand
11-
* var/timerid = addtimer(CALLBACK(object|null, GLOBAL_PROC_REF(type/path|procstring), arg1, arg2, ... argn), time, timertype)
11+
* var/timerid = addtimer(CALLBACK(object|null, PROC_REF(procname), arg1, arg2, ... argn), time, timertype)
1212
* ```
1313
*
1414
* Note: proc strings can only be given for datum proc calls, global procs must be proc paths

0 commit comments

Comments
 (0)