add available hint points to UI

This commit is contained in:
Fabian Dill
2020-06-15 06:30:51 +02:00
parent e11f33b589
commit 7353b489ce
4 changed files with 16 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ class WebUiClient(Node):
def send_location_check(self, ctx: Context, last_check: str):
self.broadcast_all(self.build_message('locationCheck', {
'totalChecks': len(ctx.locations_checked),
'hintPoints': 0,
'hintPoints': ctx.hint_points,
'lastCheck': last_check,
}))