mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Remove debug
This commit is contained in:
committed by
GitHub
parent
77e29526db
commit
c2d73dcc46
@@ -121,9 +121,7 @@
|
||||
if (!length(callback_args))
|
||||
callback_args = list()
|
||||
pendingcount++
|
||||
debug_usr("calling callback")
|
||||
var/rtn = callback.Invoke(arglist(callback_args))
|
||||
debug_usr("callback returned")
|
||||
pendingcount--
|
||||
if (savereturn)
|
||||
finished[index] = rtn
|
||||
@@ -151,9 +149,8 @@
|
||||
var/datum/callback_select/CS = new(count, savereturns)
|
||||
for (var/i in 1 to count)
|
||||
CS.invoke_callback(i, callbacks[i], callback_args[i], savereturns)
|
||||
debug_usr("starting callbacks: [CS.pendingcount]")
|
||||
|
||||
while(CS.pendingcount)
|
||||
debug_usr("callbacks: [CS.pendingcount]")
|
||||
sleep(resolution*world.tick_lag)
|
||||
return CS.finished
|
||||
|
||||
|
||||
Reference in New Issue
Block a user