Closed Psycast closed 3 years ago
- Use a single Alert Display instead of creating a new one each time.
- Make it into a static class so using a reference through GlobalVariables isn't needed.
- Only add/remove event listeners when needed instead of between every alert.
This should fix lag with Alerts during gameplay due to rapid creation/destruction of textfields, which has been mitigated.
Fixes issue #269.
When were alerts happening during gameplay?
When were alerts happening during gameplay?
Multiplayer has them for multiple things:
This should fix lag with Alerts during gameplay due to rapid creation/destruction of textfields, which has been mitigated.
Fixes issue #269.