mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Adds a searchbar to the Traitor uplink (#20230)
* searching traitor uplink * remove unused variable * sirryan review
This commit is contained in:
@@ -64,7 +64,13 @@ GLOBAL_LIST_EMPTY(world_uplinks)
|
||||
if(I.job && I.job.len)
|
||||
if(!(I.job.Find(job)) && uplink_type != UPLINK_TYPE_ADMIN)
|
||||
continue
|
||||
cats[cats.len]["items"] += list(list("name" = sanitize(I.name), "desc" = sanitize(I.description()),"cost" = I.cost, "hijack_only" = I.hijack_only, "obj_path" = I.reference, "refundable" = I.refundable))
|
||||
cats[cats.len]["items"] += list(list(
|
||||
"name" = sanitize(I.name),
|
||||
"desc" = sanitize(I.description()),
|
||||
"cost" = I.cost,
|
||||
"hijack_only" = I.hijack_only,
|
||||
"obj_path" = I.reference,
|
||||
"refundable" = I.refundable))
|
||||
uplink_items[I.reference] = I
|
||||
|
||||
uplink_cats = cats
|
||||
|
||||
Reference in New Issue
Block a user