mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Fixes new linter errors (#48126)
About The Pull Request This fixes the errors raised by the new feature I'm adding to the linter: SpaceManiac/SpacemanDMM#119
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
return
|
||||
var/list/datum/SDQL2_query/running = list()
|
||||
var/list/datum/SDQL2_query/waiting_queue = list() //Sequential queries queue.
|
||||
|
||||
|
||||
for(var/list/query_tree in querys)
|
||||
var/datum/SDQL2_query/query = new /datum/SDQL2_query(query_tree)
|
||||
if(QDELETED(query))
|
||||
@@ -255,7 +255,7 @@
|
||||
to_chat(usr, "<span class='admin'>[msg]</span>")
|
||||
log_admin(msg)
|
||||
query.ARun()
|
||||
|
||||
|
||||
var/finished = FALSE
|
||||
var/objs_all = 0
|
||||
var/objs_eligible = 0
|
||||
@@ -332,7 +332,7 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null
|
||||
//These three are weird. For best performance, they are only a number when they're not being changed by the SDQL searching/execution code. They only become numbers when they finish changing.
|
||||
var/list/obj_count_all
|
||||
var/list/obj_count_eligible
|
||||
var/list/obj_count_finished
|
||||
var/obj_count_finished
|
||||
|
||||
//Statclick
|
||||
var/obj/effect/statclick/SDQL2_delete/delete_click
|
||||
@@ -715,7 +715,7 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null
|
||||
SDQL2_TICK_CHECK
|
||||
SDQL2_HALT_CHECK
|
||||
if(islist(obj_count_finished))
|
||||
obj_count_finished = obj_count_finished.len
|
||||
obj_count_finished = length(obj_count_finished)
|
||||
state = SDQL2_STATE_SWITCHING
|
||||
|
||||
/datum/SDQL2_query/proc/SDQL_print(object, list/text_list, print_nulls = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user