Fix #20250: Entity tweening corrupting entity positions changing parks

This commit is contained in:
ζeh Matt 2023-05-22 04:31:48 +03:00
parent b9382ae9fc
commit 94525e1742
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include "actions/GameAction.h"
#include "config/Config.h"
#include "entity/EntityRegistry.h"
#include "entity/EntityTweener.h"
#include "entity/PatrolArea.h"
#include "entity/Staff.h"
#include "interface/Screenshot.h"
@ -94,6 +95,8 @@ void GameState::InitAll(const TileCoordsXY& mapSize)
auto& scriptEngine = GetContext()->GetScriptEngine();
scriptEngine.ClearParkStorage();
#endif
EntityTweener::Get().Reset();
}
/**