Update golfsim.py

This commit is contained in:
SpudGunMan
2024-09-30 23:25:12 -07:00
parent 6fc6a483a8
commit 0fe491871d
+3 -1
View File
@@ -325,6 +325,8 @@ def playGolf(nodeID, message, finishedHole=False):
total_strokes += hole_strokes
total_to_par += hole_to_par
debug = f"System: GolfSim: Player {nodeID} finished hole {hole} with {hole_strokes} strokes,{hole_shots}+{putts} putts, and {hole_to_par} to {hole_strokes}-{par}par"
print(debug)
if not critter:
# Show player hole/round scoring info
if putts == 0 and hole_strokes == 1:
@@ -371,6 +373,6 @@ def playGolf(nodeID, message, finishedHole=False):
else:
# Show player the next hole
msg += playGolf(nodeID, 'new', True)
msg += "\n🏌️‍♀️[D, L, M, H, G, W, End]🏌️"
msg += "\n🏌️[D, L, M, H, G, W, End]🏌️"
return msg