wip
This commit is contained in:
parent
66e05c7d09
commit
00036a2eea
@ -24,7 +24,7 @@ function PerkChanged(byte NewPerkIndex, bool bClickedIndex)
|
|||||||
LastPerkIndex = NewPerkIndex;
|
LastPerkIndex = NewPerkIndex;
|
||||||
bModifiedPerk = true;
|
bModifiedPerk = true;
|
||||||
|
|
||||||
if (MSKGSPC.Pawn == None || !MSKGSPC.Pawn.IsAliveAndWell())
|
if (MSKGSPC.Pawn == None || !MSKGSPC.Pawn.IsAliveAndWell() || KFGRI.bTraderIsOpen)
|
||||||
{
|
{
|
||||||
SavePerkData();
|
SavePerkData();
|
||||||
SelectionContainer.SavePerk( NewPerkIndex );
|
SelectionContainer.SavePerk( NewPerkIndex );
|
||||||
|
Loading…
Reference in New Issue
Block a user