Skip to content

Commit 213da8b

Browse files
committed
Fix respawn call
1 parent 39f852d commit 213da8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

screepsapi/screepsapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def place_spawn(self, room, name, x, y, shard='shard0'):
200200
return self.post('game/place-spawn', room=room, name=name, x=x, y=y, shard=shard)
201201

202202
def respawn(self):
203-
return self.post('game/respawn')
203+
return self.post('user/respawn')
204204

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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
long_description = open('README.md').read()
99

1010

11-
version = '0.4.5'
11+
version = '0.4.6'
1212
setup(
1313
name = 'screepsapi',
1414
version = version,

0 commit comments

Comments
 (0)