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
Check if the folder got all the files needed to be a map folder.
"""
baseName=os.path.basename(folder).split('.')[0]
files_required= {
baseName+".scmap",
baseName+"_save.lua",
baseName+"_scenario.lua",
baseName+"_script.lua"
}
files_present=set(os.listdir(folder))
The map files can be named differently than the foldername of the maps, but the check for valid map files only tries the foldername instead of the paths that are stored inside of the scenario.lua file. Maps that differ from that naming convention wont be loaded when selecting them in the hostgame-popup and the default map (Four Corners) will be opened instead. Switching to the map inside of the game lobby (and launching it) works fine.
The text was updated successfully, but these errors were encountered:
client/src/fa/maps.py
Lines 101 to 112 in ecf3715
The map files can be named differently than the foldername of the maps, but the check for valid map files only tries the foldername instead of the paths that are stored inside of the scenario.lua file. Maps that differ from that naming convention wont be loaded when selecting them in the hostgame-popup and the default map (Four Corners) will be opened instead. Switching to the map inside of the game lobby (and launching it) works fine.
The text was updated successfully, but these errors were encountered: