mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
makes a bunch of lists that use typecacheof() static. doesnt find out why its overtiming at all but what the hell it helps (#60147)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
var/list/item_reactions = list()
|
||||
var/list/valid_items = list() //valid items for special reactions like transforming
|
||||
var/list/critical_items_typecache //items that can cause critical reactions
|
||||
var/banned_typecache // items that won't be produced
|
||||
|
||||
/obj/machinery/rnd/experimentor/proc/ConvertReqString2List(list/source_list)
|
||||
var/list/temp_list = params2list(source_list)
|
||||
@@ -46,7 +45,7 @@
|
||||
|
||||
/obj/machinery/rnd/experimentor/proc/SetTypeReactions()
|
||||
// Don't need to keep this typecache around, only used in this proc once.
|
||||
var/list/banned_typecache = typecacheof(list(
|
||||
var/static/list/banned_typecache = typecacheof(list(
|
||||
/obj/item/stock_parts/cell/infinite,
|
||||
/obj/item/grenade/chem_grenade/tuberculosis
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user