Skip to content
Permalink
Browse files

Put mouse cursor in middle at beginning

  • Loading branch information
rdb committed Mar 26, 2020
1 parent 063bf18 commit b28d25d9d477363c57568b6a18aeb3c9b988e77d
Showing with 2 additions and 0 deletions.
  1. +2 −0 game/controls.py
@@ -78,6 +78,8 @@ def update(self, entities_by_filter):

elevate = (ptr.y / base.win.get_y_size()) - 0.5
base.cam.set_z(2.5 - elevate)
else:
base.win.move_pointer(0, base.win.get_x_size() // 2, base.win.get_y_size() // 2)

self.last_ptr = ptr
else:

0 comments on commit b28d25d

Please sign in to comment.
You can’t perform that action at this time.