mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-30 05:23:35 +02:00
💩
: get it
This commit is contained in:
+1
-1
@@ -404,7 +404,7 @@ def handleVideoPoker(nodeID, message):
|
||||
highScore = loadHSVp()
|
||||
if highScore != 0:
|
||||
if highScore['nodeID'] != 0:
|
||||
msg += f" HighScore🥇:{get_name_from_number(highScore['nodeID'])} with {highScore['highScore']} chips. "
|
||||
msg += f" HighScore🥇{get_name_from_number(highScore['nodeID'])} with {highScore['highScore']} chips. "
|
||||
|
||||
if last_cmd != "":
|
||||
logger.debug(f"System: VideoPoker: {nodeID} last command: {last_cmd}")
|
||||
|
||||
@@ -450,7 +450,7 @@ def playBlackJack(nodeID, message):
|
||||
# check high score
|
||||
highScore = loadHSJack()
|
||||
if highScore != 0 and p_chips.total > highScore['highScore']:
|
||||
msg += f"💰💰High Score{p_chips.total} "
|
||||
msg += f"💰HighScore💰{p_chips.total} "
|
||||
saveHSJack(nodeID, p_chips.total)
|
||||
else:
|
||||
msg += f"💰You have {p_chips.total} chips "
|
||||
|
||||
Reference in New Issue
Block a user