don't recreate random state for sequential ep3 battles

This commit is contained in:
Martin Michelsen
2023-06-10 09:53:54 -07:00
parent ee837712aa
commit 0386d14638
9 changed files with 30 additions and 35 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ struct Lobby : public std::enable_shared_from_this<Lobby> {
std::u16string name;
// This seed is also sent to the client for rare enemy generation
uint32_t random_seed;
std::shared_ptr<std::mt19937> random;
std::shared_ptr<PSOLFGEncryption> random_crypt;
std::shared_ptr<ItemCreator> item_creator;
// Ep3 stuff