Fix map yaml linter (#6433)

This commit is contained in:
metalgearsloth
2022-02-02 00:05:55 +11:00
committed by GitHub
parent 1803c29626
commit 434580845b
10 changed files with 30 additions and 27 deletions

View File

@@ -39,7 +39,7 @@ namespace Content.Server.Administration.Commands
{
if (int.TryParse(args[1], out var mapId))
{
var gameMapEnt = mapLoader.LoadBlueprint(new MapId(mapId), gameMap.MapPath);
var gameMapEnt = mapLoader.LoadBlueprint(new MapId(mapId), gameMap.MapPath.ToString());
if (gameMapEnt is null)
{
shell.WriteError($"Failed to create the given game map, is the path {gameMap.MapPath} correct?");