Skip to content

Commit

Permalink
OOPS
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhartigan committed Feb 23, 2022
1 parent 22acb77 commit c2dc4c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion server/src/client_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from valclient import Client

# version
SERVER_VERSION = "1.0.0b2"
SERVER_VERSION = "1.0.0b3"

# debug settings
IS_TEST_BUILD = False # directs to the test client
Expand Down
4 changes: 0 additions & 4 deletions server/src/session_management/client_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,16 @@ async def dispatch_randomizer(self):
async def randomizer_check(self):
if self.presence is not None and self.presence != {}:
if (self.presence["sessionLoopState"] != self.previous_presence["sessionLoopState"]) and (self.previous_presence["sessionLoopState"] == "INGAME" and self.presence["sessionLoopState"] == "MENUS"):
print("checking")
if shared.config["skin_randomizer"]["settings"]["auto_skin_randomize"]["value"] == True:
print("a")
if self.inrange:

if shared.config["skin_randomizer"]["settings"]["randomize_after_range"]["value"] == True:
print("b")
await self.dispatch_randomizer()
self.inrange = False
else:
self.inrange = False
return
else:
print("c")
await self.dispatch_randomizer()


Expand Down

0 comments on commit c2dc4c6

Please sign in to comment.