diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 23:46:52 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 23:46:52 +0100 |
commit | 27bd240871b7c0f2f49fef137718b2e3c208e3b4 (patch) | |
tree | a46f401fa389edbb42a32fe8674cbde3a28e7632 /Northstar.Client/scripts/vscripts/ui/menu_private_match.nut | |
parent | 1c1d36fad84687a93a629525145c557f78cbf673 (diff) | |
download | NorthstarMods-27bd240871b7c0f2f49fef137718b2e3c208e3b4.tar.gz NorthstarMods-27bd240871b7c0f2f49fef137718b2e3c208e3b4.zip |
ctf switchsides spawn fix (untested)
Diffstat (limited to 'Northstar.Client/scripts/vscripts/ui/menu_private_match.nut')
-rw-r--r-- | Northstar.Client/scripts/vscripts/ui/menu_private_match.nut | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Northstar.Client/scripts/vscripts/ui/menu_private_match.nut b/Northstar.Client/scripts/vscripts/ui/menu_private_match.nut index 13218cd3c..465991356 100644 --- a/Northstar.Client/scripts/vscripts/ui/menu_private_match.nut +++ b/Northstar.Client/scripts/vscripts/ui/menu_private_match.nut @@ -121,8 +121,10 @@ asset function GetMapImageForMapName( string mapName ) { if ( mapName in mapImages ) return mapImages[mapName] - - return $"" + + // no way to convert string => asset for dynamic stuff so + // pain + return expect asset ( compilestring( "return $\"loadscreens/" + mapName + "_lobby\"" )() ) } |