1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00

fix issue with partial matches for map load command

This commit is contained in:
RaidMax
2020-11-03 20:04:11 -06:00
parent 34423fd56c
commit a001f55097
2 changed files with 20 additions and 1 deletions

View File

@ -875,7 +875,7 @@ namespace SharedLibraryCore.Commands
E.Owner.Broadcast(_translationLookup["COMMANDS_MAP_SUCCESS"].FormatExt(foundMap.Alias));
await Task.Delay(delay);
await E.Owner.LoadMap(newMap);
await E.Owner.LoadMap(foundMap?.Name ?? newMap);
}
}