Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
StrawberryMaster committed Feb 2, 2024
1 parent 12ad2e8 commit 48bd393
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.vscode
/.vscode/settings.json
/.vscode/settings.json
node_modules
```
2 changes: 1 addition & 1 deletion python/st.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def use_weapon():

def run_away():
outcome = random.randint(1, 3)
if inventory != None:
if inventory is not None:
outcome += 1
if outcome == 1 or outcome == 2:
print("\nYou are unable to outrun the creatures and are killed. Game over.")
Expand Down

0 comments on commit 48bd393

Please sign in to comment.