Merge pull request 'fix-skadi-race' (#2) from fix-skadi-race into main-backup

Reviewed-on: #2
This commit is contained in:
kanym 2026-08-01 13:30:10 +02:00
commit edd7fb58fa
14 changed files with 397 additions and 87 deletions

View file

@ -502,8 +502,7 @@ namespace RacesOfValheim
int state = BossProgressionManager.GetCurrentProgressionState();
bool takeInput = HarmonyLib.Traverse.Create(Player.m_localPlayer).Method("TakeInput").GetValue<bool>();
if (takeInput)
if (RaceInput.Allowed)
{
if (Input.GetKeyDown(KeyCode.G)) { TryTransformWithRules(AswidProgression.GetGKeyRules(state)); return; }
if (Input.GetKeyDown(KeyCode.H)) { TryToggleMistForm(); return; }