You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for code to be run in map config function #982
I can imagine this being accomplished by introducing an annotation @config that, when added to a function, flags it to be run during the map configuration or by introducing a new config scope, like the init scope, where all code within is injected into the map's config function. I've never heard of anyone using the config function to do anything other than play a sound in the lobby so explicitly tagging a single function might make more sense than introducing a new scope.
changed the title [-]Add support for functions to be run in map config function[/-][+]Add support for code to be run in map config function[/+]on Jan 5, 2021
Yea could be added, but such injections are always a bit ugly imo.
If the only reason is to play a song in the lobby i don't think it's a strongly needed feature.
Activity
[-]Add support for functions to be run in map config function[/-][+]Add support for code to be run in map config function[/+]Frotty commentedon Feb 11, 2021
Yea could be added, but such injections are always a bit ugly imo.
If the only reason is to play a song in the lobby i don't think it's a strongly needed feature.