mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-19 02:51:51 +00:00
Added default Maps in the config
This commit is contained in:
@@ -49,7 +49,7 @@ namespace CS2_SimpleAdmin.Menus
|
||||
CenterHtmlMenu menu = new CenterHtmlMenu($"Change Map");
|
||||
List<ChatMenuOptionData> options = new();
|
||||
|
||||
string[] maps = Server.GetMapList();
|
||||
List<string> maps = CS2_SimpleAdmin.Instance.Config.DefaultMaps;//Server.GetMapList();
|
||||
foreach (string map in maps)
|
||||
{
|
||||
options.Add(new ChatMenuOptionData(map, () => ExecuteChangeMap(admin, map, false)));
|
||||
|
||||
Reference in New Issue
Block a user