Puts is helpers into their own file

This commit is contained in:
kevinz000
2019-01-12 05:48:05 -08:00
parent 14832ccace
commit a9aa4110a3
8 changed files with 64 additions and 60 deletions

View File

@@ -747,8 +747,8 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null
new_args[++new_args.len] = SDQL_expression(source, arg)
if(object == GLOB) // Global proc.
procname = "/proc/[procname]"
return call(procname)(arglist(new_args))
return call(object, procname)(arglist(new_args))
return superuser? (call(procname)(new_args)) : (WrapAdminProcCall(GLOBAL_PROC, procname, new_args))
return superuser? (call(object, procname)(new_args)) : (WrapAdminProcCall(object, procname, new_args))
/datum/SDQL2_query/proc/SDQL_function_async(datum/object, procname, list/arguments, source)
set waitfor = FALSE

View File

@@ -24,8 +24,6 @@
if (!islist)
type = D.type
if(istype(D, /atom))
var/atom/AT = D
if(AT.icon && AT.icon_state)
@@ -40,7 +38,7 @@
var/sprite_text
if(sprite)
sprite_text = "<img src='vv[hash].png'></td><td>"
var/list/header = D.vv_get_header()
var/list/header = islist(D)? "<b>/list</b>" : D.vv_get_header()
var/marked
if(holder && holder.marked_datum && holder.marked_datum == D)