Skip to content

Commit

Permalink
Fixed respawn_prohibited_rooms
Browse files Browse the repository at this point in the history
respawn_prohibited_rooms forced shard 0 and ignored argument. This fixes
Issue #25
  • Loading branch information
semperrabbit committed Mar 14, 2019
1 parent 9590dce commit a44fc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screepsapi/screepsapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def respawn(self):
return self.post('user/respawn')

def respawn_prohibited_rooms(self, shard='shard0'):
return self.get('user/respawn-prohibited-rooms', shard='shard0')
return self.get('user/respawn-prohibited-rooms', shard=shard)

#### battle info methods

Expand Down

0 comments on commit a44fc96

Please sign in to comment.