Overmind
Overmind copied to clipboard
:recycle: refactor deprecated isRoomAvailable function
refactor deprecated isRoomAvailable function
Description:
replace deprecated function call
Fixed:
- closes #184 Deprication of isRoomAvailable
- closes #182 Upcoming deprecation: Game.map.isRoomAvailable causing console spam
Testing checklist:
- [x] Changes are backward-compatible OR version migration code is included
- [x] Codebase compiles with current
tsconfigconfiguration - [x] Tested changes on {PRIVATE} server
in addition there could be added caching since the new function also returns an expiration date but i wanted to fix the deprecated call first