ScreepsQuorum / screeps-quorum

Screeps Self Managing and Playing Codebase
https://quorum.tedivm.com/
MIT License
148 stars 54 forks source link

Remove Game.map.getTerrainAt #428

Closed mebays closed 4 years ago

mebays commented 4 years ago

Resolves #415

duckymirror commented 4 years ago

This line has already been updated. It uses Game.map.getRoomTerrain() instead of Game.map.getTerrainAt(). The advantage of Game.map.getRoomTerrain() is that you don't need visibility on the room to get its terrain.

mebays commented 4 years ago

Thanks for the clearing this up. The issue #415 was still open, so I wasn't sure if the current solution was enough. I'll close this but could you update/close that issue in case some one else like me wants to try and contribute.