This commit is contained in:
SpudGunMan
2024-09-30 02:44:46 -07:00
parent a217c61ba1
commit e7b363612a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -267,6 +267,7 @@ def playGolf(nodeID, message):
golfTracker[i]['total_to_par'] = total_to_par
golfTracker[i]['hole'] = hole
golfTracker[i]['cmd'] = 'new'
golfTracker[i]['last_played'] = time.time()
if hole >= 9:
# Final score messages & exit prompt
+1
View File
@@ -202,6 +202,7 @@ def start_mMind(nodeID, message):
if mindTracker[i]['nodeID'] == nodeID:
mindTracker[i]['cmd'] = 'playGame'
mindTracker[i]['secret_code'] = secret_code
mindTracker[i]['last_played'] = time.time()
if last_cmd == "playGame":
# get difficulty, secret code, and turn count from tracker