OpenDream
OpenDream copied to clipboard
TGMC: Bad init order causes `/datum/browser` to break
/datum/browser has this var: var/static/datum/asset/simple/namespaced/common/common_asset = get_asset_datum(/datum/asset/simple/namespaced/common)
get_asset_datum() essentially checks a GLOB list or instantiates the arg type if it doesn't exist in the list yet.
The problem is that OpenDream is initializing this static variable, and thus the proc call, before GLOB has been instantiated by the world genesis proc. This causes the browser datum to break entirely.