mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 15:42:35 +00:00
Fix floating in midair, probably.
This commit is contained in:
@@ -132,6 +132,8 @@ class IMICFPS
|
||||
if button_down?(Gosu::KbSpace) && !@jumping
|
||||
@jumping = true
|
||||
@_time_in_air = Gosu.milliseconds
|
||||
elsif !@jumping && @y > @floor
|
||||
@falling = true
|
||||
else
|
||||
if @jumping
|
||||
if @y <= @floor
|
||||
|
||||
Reference in New Issue
Block a user