bencbartlett/Overmind

Upcoming deprecation: Game.map.isRoomAvailable causing console spam

farfromunique opened this issue · 1 comments

Issue summary

Frequently, after leaving bootstrap mode, this message is shown in the console:
Method Game.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatus instead.

Description of issue:

Once a colony leaves bootstrap mode and creeps start leaving the room, the message Method Game.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatus instead. is shown frequently in the console.

Steps to reproduce:

Start a new colony with the current release (0.5.2.1) of Overmind as the only active script. Wait, and watch the console. Note: Only tested on a private server, version 4.1.7.

Error message:

Method Game.map.isRoomAvailableis deprecated and will be removed. Please useGame.map.getRoomStatus instead.

Other information:

  • Overmind version: 0.5.2
JBtje commented

Same for public screeps server