diff options
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\"" )() ) } |