Skip to content

Commit

Permalink
fix forcemap ""
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemirda committed Jun 10, 2024
1 parent e957689 commit 7357e95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content.Server/GameTicking/GameTicker.RoundFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Robust.Shared.Utility;
using Content.Server.Voting.Managers;
using Content.Shared.Voting;
using Content.Shared.CCVar;
using System.Text.RegularExpressions; //A-13 AnnonceRoundUpdate
using System.IO; //A-13 AnnonceRoundUpdate

Expand Down Expand Up @@ -342,6 +341,7 @@ public void EndRound(string text = "")

ShowRoundEndScoreboard(text);
CheckAndChangeGamePreset(); //A-13 GameTicker.SetGamePresetUTC
_configurationManager.SetCVar(CCVars.GameMap, ""); //A-13 Fix forcemap
}

public void ShowRoundEndScoreboard(string text = "")
Expand Down Expand Up @@ -549,10 +549,10 @@ public void RestartRound()
SendStatusToAll();
UpdateInfoText();

//A-13 Vote in end round start
if (_configurationManager.GetCVar(CCVars.GameAutoMapVote))
{
_voteManager.CreateStandardVote(null, StandardVoteType.Map);
}
//A-13 Vote in end round end

ReqWindowAttentionAll();
}
Expand Down

0 comments on commit 7357e95

Please sign in to comment.