Skip to content

Commit

Permalink
fix saved checks bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gaithern committed Nov 2, 2024
1 parent a58b303 commit 69eaf50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions worlds/khbbs/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ def __init__(self, server_address, password):
os.remove(root+"/"+file)

async def server_auth(self, password_requested: bool = False):
for root, dirs, files in os.walk(self.game_communication_path):
for file in files:
if file.find("obtain") <= -1:
os.remove(root+"/"+file)
if password_requested and not self.password:
await super(KHBBSContext, self).server_auth(password_requested)
await self.get_username()
Expand Down

0 comments on commit 69eaf50

Please sign in to comment.