Skip to content

Commit

Permalink
whoops (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
francinum authored Dec 12, 2024
1 parent d2fc4e8 commit 2f5ba64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/callback.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* ## USAGE
*
* ```
* var/datum/callback/C = new(object|null, GLOBAL_PROC_REF(type/path|"procstring"), arg1, arg2, ... argn)
* var/datum/callback/C = new(object|null, PROC_REF(procname), arg1, arg2, ... argn)
* var/timerid = addtimer(C, time, timertype)
* you can also use the compiler define shorthand
* var/timerid = addtimer(CALLBACK(object|null, GLOBAL_PROC_REF(type/path|procstring), arg1, arg2, ... argn), time, timertype)
* var/timerid = addtimer(CALLBACK(object|null, PROC_REF(procname), arg1, arg2, ... argn), time, timertype)
* ```
*
* Note: proc strings can only be given for datum proc calls, global procs must be proc paths
Expand Down

0 comments on commit 2f5ba64

Please sign in to comment.