diff --git a/worlds/kh1/Client.py b/worlds/kh1/Client.py index c7f48028e1e6..9497cd35a0b4 100644 --- a/worlds/kh1/Client.py +++ b/worlds/kh1/Client.py @@ -75,6 +75,8 @@ async def connection_closed(self): for file in files: if file.find("obtain") <= -1: os.remove(root + "/" + file) + global item_num + item_num = 1 @property def endpoints(self): @@ -89,6 +91,8 @@ async def shutdown(self): for file in files: if file.find("obtain") <= -1: os.remove(root+"/"+file) + global item_num + item_num = 1 def on_package(self, cmd: str, args: dict): if cmd in {"Connected"}: