diff options
| author | historia <[not public]> | 2026-07-07 21:22:39 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-07 21:22:39 -0400 |
| commit | 74803657d587b1f93b739c1ee25bb8d62df95413 (patch) | |
| tree | 0166974468c452bb13454d37d4b83d2e681446c0 /internal/game/core_course_test.go | |
| parent | bae42946d24bd533cdbc1b271ce14acd752689d0 (diff) | |
| download | thehouseoficarus-74803657d587b1f93b739c1ee25bb8d62df95413.tar.gz | |
fix: agility course creation fixed and improved in admin web gui
Diffstat (limited to 'internal/game/core_course_test.go')
| -rw-r--r-- | internal/game/core_course_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/core_course_test.go b/internal/game/core_course_test.go index 3d9fdc2..64ec8ad 100644 --- a/internal/game/core_course_test.go +++ b/internal/game/core_course_test.go @@ -130,8 +130,8 @@ obstacles: if o2.CompletionXP != 50 { t.Errorf("last obstacle should carry completion_xp, got %d", o2.CompletionXP) } - if o2.NextRoom != 0 { - t.Errorf("last obstacle should have next_room 0, got %d", o2.NextRoom) + if o2.NextRoom != 100 { + t.Errorf("last obstacle with no exit_dir should fall back to start_room 100, got %d", o2.NextRoom) } if cs.GetObstacle(999) != nil { |
