Fix.
This commit is contained in:
parent
8490b2cbfe
commit
86e6c2d6cf
|
@ -47,7 +47,7 @@ class WorldObject(object):
|
|||
self.init_x, self.init_y = self.x, self.y
|
||||
|
||||
def reset_pos(self):
|
||||
self.x, self.y = self.init_x, self.init_y
|
||||
self.x, self.y = self.move_x, self.move_y = self.init_x, self.init_y
|
||||
|
||||
def check_move(self, move_x, move_y):
|
||||
if self.move_x == self.x and self.move_y == self.y and self.movable:
|
||||
|
|
Loading…
Reference in New Issue