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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user