diff options
| author | historia <[not public]> | 2026-07-07 00:22:32 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-07 00:22:32 -0400 |
| commit | a51f7a53aa2c487ebf94ba0363038574ae8bb590 (patch) | |
| tree | b393a8f9e4732b40f6fe8058d086bd631537ad3b /internal/admin/api_room_courses.go | |
| parent | 9292634f2f8d71a53879ff07e1330c671b207d51 (diff) | |
| download | thehouseoficarus-a51f7a53aa2c487ebf94ba0363038574ae8bb590.tar.gz | |
feat: hidden exits (and related flags) work with commands that change room ids. exit code simplified and unified between impassable and blocked exits.
Diffstat (limited to 'internal/admin/api_room_courses.go')
| -rw-r--r-- | internal/admin/api_room_courses.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/admin/api_room_courses.go b/internal/admin/api_room_courses.go index 86c7cdf..740a102 100644 --- a/internal/admin/api_room_courses.go +++ b/internal/admin/api_room_courses.go @@ -574,8 +574,8 @@ func roomExitsMap(m map[string]any) map[string]any { } // setCourseBlockedExit adds or replaces an always-blocked exit in direction dir -// targeting targetRoomID. Always-blocked exits are impassable but render on the map; -// used to lay out course rooms in visual sequence. +// targeting targetRoomID. Always-blocked exits are blocked to players but +// render on the map; used to lay out course rooms in visual sequence. func setCourseBlockedExit(m map[string]any, dir string, targetRoomID int) { ex := roomExitsMap(m) ex[dir] = map[string]any{"room": targetRoomID, "always_blocked": true} |
