summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
index 9df7079..3990db0 100644
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
@@ -4,6 +4,7 @@ update.limit = function(dt)
elseif character.bola.position.x >= windowProfile.mode.width - character.bola.origin.x then
character.bola.position.x = windowProfile.mode.width - character.bola.origin.x
end
+
if character.bola.position.y <= character.bola.origin.y then
character.bola.position.y = character.bola.origin.y
elseif character.bola.position.y >= windowProfile.mode.height - character.bola.origin.y then