Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix being able to pass through invalid ballistic values (#6398)
## Description of the proposed changes If you pass in an invalid value to `SetBallisticAcceleration` then the simulation will freeze up. This is a bug in the engine, but we can 'fix' it in Lua by simply error'ing out if we see such a value. ## Testing done on the proposed changes Ran a game and tested/confirmed that regular values are untouched and all variants of invalid values are caught. ## Additional context Possibly related to: - https://forum.faforever.com/topic/8022/replays-of-games-stuck-in-infinite-loop/1 ## Checklist - [x] Changes are annotated, including comments where useful - [x] Changes are documented in the changelog for the next game version
- Loading branch information