mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Fixed PostRaidHealingPricePatch
This commit is contained in:
parent
eaf0c40d46
commit
e953de545d
@ -35,7 +35,8 @@ namespace Aki.SinglePlayer.Patches.RaidFix
|
||||
throw new IndexOutOfRangeException($"Loyalty level {loyaltyLevel} not found.");
|
||||
}
|
||||
|
||||
Traverse.Create(__instance).Property("CurrentLoyalty").SetValue(loyaltyLevelSettings.Value);
|
||||
// Backing field of the "CurrentLoyalty" property
|
||||
Traverse.Create(__instance).Field("<CurrentLoyalty>k__BackingField").SetValue(loyaltyLevelSettings.Value);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user