Update Healer Man server

This commit is contained in:
phenom committed 2026-10-06 22:25:34 -04:00
1 parent 6114a2295f
commit 69809f7228
593 files changed
+903643 -40774

No files matched your search

+4 -3
View File
@@ -140,12 +140,13 @@ export function defaultActionBindings(abilityIds: readonly string[]): ActionBind
export function normalizeActionBindings(
value: unknown,
abilityIds: readonly string[],
defaultAbilityIds: readonly string[],
allowedAbilityIds: readonly string[] = defaultAbilityIds,
): ActionBindings {
const defaults = defaultActionBindings(abilityIds);
const defaults = defaultActionBindings(defaultAbilityIds);
if (!value || typeof value !== "object" || Array.isArray(value)) return defaults;
const source = value as Record<string, unknown>;
const allowed = new Set(abilityIds);
const allowed = new Set(allowedAbilityIds);
const bindings = { ...defaults };
for (const layer of ACTION_LAYERS) {
for (const control of ACTION_CONTROLS) {