Lower, readable table buttons; keep DM buttons in player view
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HJhXuLD2Z6hv3Wqeq9UL9K
This commit is contained in:
@@ -618,6 +618,7 @@ def install(api, db, current_user, lobby_for, dm_only, hub, event, store_dir: Pa
|
||||
"vision": {"los": ctx["los"], "empty": ctx["empty"], "rev": ctx["rev"], "fog": ctx.get("fog")}}
|
||||
if ctx["is_dm"]:
|
||||
res["los_on"] = bool(lobby["los"])
|
||||
res["wall_count"] = len(ctx["walls"])
|
||||
res["sight"] = lobby["sight"] if lobby["sight"] is not None else m["sight"]
|
||||
res["sight_map"] = m["sight"]
|
||||
res["fog_on"] = bool(lobby["fog"])
|
||||
|
||||
Reference in New Issue
Block a user