mods: the UI guest's level is 3 now that world is level 4

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-26 17:07:20 +01:00
parent 8bb27b44ca
commit 96984300d3
+2 -2
View File
@@ -255,8 +255,8 @@ experimental = ["ui", "render", "input"]
needed(imports(&wasm).unwrap().iter().map(String::as_str)).0
};
assert_eq!(level("coords_hud.hmod"), 0);
// The UI guest shows a minimap (`render.set-minimap`).
assert_eq!(level("horizon_mods_test_ui_guest.hmod"), LEVEL);
// The UI guest runs quiet commands (`command.run-quiet`, level 3).
assert_eq!(level("horizon_mods_test_ui_guest.hmod"), 3);
}
#[test]