Makes the preloader apply text macros: Re-engineering (#24614)

* Add apply_text_macros

* Make the map loader use text macros

* Cleanup
This commit is contained in:
Cyberboss
2017-03-09 15:22:34 -05:00
committed by oranges
parent 27bb35decc
commit 2f4fb6f68a
2 changed files with 59 additions and 0 deletions

View File

@@ -436,6 +436,8 @@ var/global/dmm_suite/preloader/_preloader = new
var/value = attributes[attribute]
if(islist(value))
value = deepCopyList(value)
if(istext(value))
value = apply_text_macros(value)
what.vars[attribute] = value
use_preloader = FALSE