Push players back 5 steps from the end if levels is locked, hopefully cut down on the spamming of the level locked message a bit.

This commit is contained in:
Storm Dragon
2025-02-14 12:26:25 -05:00
parent 65aa7f3be8
commit 656083b2f2

View File

@@ -403,7 +403,7 @@ class Level:
speak("You must defeat all enemies before proceeding!")
play_sound(self.sounds['locked'])
# Push player back a bit
self.player.xPos -= 1
self.player.xPos -= 5
return False
# Level complete