Paradise
Paradise copied to clipboard
refactor: turn /proc/findEventArea() into a global list
What Does This PR Do
This PR refactors /proc/findEventArea()
and /proc/findUnrestrictedEventArea()
into lists generated once after the station is loaded.
Why It's Good For The Game
/proc/findEventArea()
has to do a bunch of work and iteration every time it's called. Turning it into a global list makes it faster and more straightforward to use, and hopefully encourages its further use where needed.
Testing
Tested running events that currently use it.
Changelog
NPFC