warvulture

This commit is contained in:
Ferdinando 2026-08-14 15:24:33 +02:00
commit 8580d65a56
4 changed files with 90 additions and 7 deletions

View file

@ -107,8 +107,9 @@ namespace RacesOfValheim
private static void Summon(Player rider)
{
string race = null;
if (rider.m_customData != null) rider.m_customData.TryGetValue("Race", out race);
// Through WarVultureConfig.RaceOf rather than reading m_customData here, so this gate
// and the one hiding the recipe (WarVultureRecipeRacePatch) are literally the same read.
string race = WarVultureConfig.RaceOf(rider);
if (!WarVultureConfig.RaceAllowed(race))
{