Fix some build warnings (#6832)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -88,9 +88,8 @@ namespace Content.Server.GameTicking.Commands
|
||||
shell.RemoteExecuteCommand("showmarkers");
|
||||
|
||||
var newGrid = mapManager.GetAllGrids().OrderByDescending(g => (int) g.Index).First();
|
||||
var pauseManager = IoCManager.Resolve<IPauseManager>();
|
||||
|
||||
pauseManager.SetMapPaused(newGrid.ParentMapId, true);
|
||||
mapManager.SetMapPaused(newGrid.ParentMapId, true);
|
||||
|
||||
shell.WriteLine($"Created unloaded map from file {mapName} with id {mapId}. Use \"savebp {newGrid.Index} foo.yml\" to save the new grid as a map.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user