Created
June 7, 2020 20:07
-
-
Save valeth/7539c57cd67859a64534a04b7603263f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def restore(current, item_sanity): | |
if current + item_sanity > 999: | |
return | |
else: | |
update_sanity(current + item_sanity) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment