mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
Two as anything greps (and some other cleanup) (#92974)
This commit is contained in:
@@ -344,7 +344,7 @@
|
||||
data["selected_root"] = root_category
|
||||
|
||||
data["categories"] = list()
|
||||
for(var/sub_category as anything in GLOB.rcd_designs[root_category])
|
||||
for(var/sub_category in GLOB.rcd_designs[root_category])
|
||||
var/list/target_category = GLOB.rcd_designs[root_category][sub_category]
|
||||
if(!length(target_category))
|
||||
continue
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
data["selected_root"] = root_category
|
||||
|
||||
data["categories"] = list()
|
||||
for(var/sub_category as anything in GLOB.floor_designs[root_category])
|
||||
for(var/sub_category in GLOB.floor_designs[root_category])
|
||||
var/list/target_category = GLOB.floor_designs[root_category][sub_category]
|
||||
|
||||
var/list/designs = list() //initialize all designs under this category
|
||||
|
||||
Reference in New Issue
Block a user