forked from team-sg/hero-mark-2
rolling fiend defaults to counterclockwise motion again
This commit is contained in:
parent
52f856ad6b
commit
0b39769e1f
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ func _ready():
|
|||
break
|
||||
|
||||
func _physics_process(delta):
|
||||
var offset = -1 if clockwise else 1
|
||||
var offset = 1 if clockwise else -1
|
||||
var move_dir = posmod(floor_direction + offset, DIRS.size())
|
||||
if !is_on_surface(DIRS[floor_direction]):
|
||||
floor_direction = posmod(floor_direction - offset, DIRS.size())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue