Skip to content

Commit

Permalink
Divorce town seed from game seed
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills authored and AJenbo committed Nov 27, 2024
1 parent d8811eb commit e81121a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,8 @@ bool NetInit(bool bSinglePlayer)
DungeonSeeds[i] = gameGenerator.next();
LevelSeeds[i] = std::nullopt;
}
// explicitly randomize the town seed to divorce shops from the game seed
DungeonSeeds[0] = GenerateSeed();
PublicGame = DvlNet_IsPublicGame();

Player &myPlayer = *MyPlayer;
Expand Down

0 comments on commit e81121a

Please sign in to comment.