ocraft / ocraft-s2client

StarCraft II Client - Java library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
55 stars 15 forks source link

Revert "to handle the custom built balance-patched maps for linux" #46

Closed Ketroc closed 3 years ago

Ketroc commented 3 years ago

Reverts ocraft/ocraft-s2client#45

It appears waitForResponse(sendRequest(Requests.gameInfo())) on line111 not only failed to retrieve the map name, but it also caused observation().getGameInfo() to never get populated. I don't understand this api well enough to fix this. Perhaps you can edit this line of code to get the map name @ocraft