mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Ensures personalities are loaded before prefs are loaded (#93265)
## About The Pull Request Aaaaa if you load fast personalities aren't instantiated so personality loading wipes everything out. I don't know the best way to ensure personalities are loaded before anyone could load in unfortunately, so I just threw it in. Will need to ask around. ## Changelog 🆑 Melbert fix: Fixed personality wiping /🆑
This commit is contained in:
@@ -19,6 +19,9 @@ PROCESSING_SUBSYSTEM_DEF(personalities)
|
||||
|
||||
/// Initialized personality singletons
|
||||
/datum/controller/subsystem/processing/personalities/proc/init_personalities()
|
||||
if(length(personalities_by_type))
|
||||
return // Already initialized
|
||||
|
||||
personalities_by_type = list()
|
||||
personalities_by_key = list()
|
||||
incompatibilities_by_group = list()
|
||||
|
||||
Reference in New Issue
Block a user