Open
Description
Right now, we have them hardcoded in MapList
. Sometimes, we decide we no longer want a map on the server, remove it from the workshop collection and forget about it (at least I do). Then, when I launch the server again and receive a map vote menu instance, I can receive removed/unmounted maps as choices in the vote menu.
I think I will:
- Change the constructor of the
Map
class to check themaps/
folder for the map name provided whenSERVER
istrue
- Consequently, when
SERVER
istrue
, add aMap._mounted
field andMap.IsMounted
method, set totrue
if a matching map file is found- I'd be adding an additional check to the server-side
MapVote
logic to exclude maps imported fromMapList
that pass theMap.IsMounted
test
- I'd be adding an additional check to the server-side
Metadata
Metadata
Assignees
Type
Projects
Status