Skip to content

Commit

Permalink
Reset Game State Before Traveling
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Jan 1, 2024
1 parent bf93801 commit 62ab7fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/MutVoteSys.uc
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,8 @@ function TravelTo(VS_Preset P, VS_Map M) {
local array<string> Pkgs;
local array<string> Actors;

Level.Game.ResetGame();

SortMutators(P.Mutators, Mutators, ActorsList);
if (InStr(Mutators, "MutVoteSys") == -1)
Mutators = string(self.Class)$","$Mutators;
Expand Down

0 comments on commit 62ab7fd

Please sign in to comment.