mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Lets you query base datum if you specify a list to search
This commit is contained in:
@@ -73,14 +73,14 @@
|
||||
if("select", "delete", "update")
|
||||
select_types = query_tree[query_tree[1]]
|
||||
|
||||
if("/datum" in select_types)
|
||||
to_chat(usr, "<span class='danger'>Querying /datum is not supported. Please use a more specific type.</span>")
|
||||
return
|
||||
|
||||
|
||||
from_objs = SDQL_from_objs(query_tree["from"])
|
||||
CHECK_TICK
|
||||
|
||||
if(from_objs == world && ("/datum" in select_types))
|
||||
to_chat(usr, "<span class='danger'>Querying all datums is not supported. Please use a more specific type or specify a list to search.</span>")
|
||||
return
|
||||
|
||||
var/list/objs = list()
|
||||
|
||||
for(var/type in select_types)
|
||||
|
||||
Reference in New Issue
Block a user