Set KillMove to 0 with any bVATSDisable value other than 0

This commit is contained in:
Eddoursul 2021-12-11 16:36:03 +01:00
parent ebb183c078
commit b067358a7e
2 changed files with 5 additions and 4 deletions

Binary file not shown.

View File

@ -163,12 +163,13 @@ Function EnableDisableKillmove()
; it seems like that this ini setting does not do stuff by itself (or it is bugged)
; therefore we need to read it from the file and change the global with which the killmoves are conditioned
If (Utility.GetINIBool("bVATSDisable:VATS") == 1)
KillMove.SetValueInt(0)
ElseIf (Utility.GetINIBool("bVATSDisable:VATS") == 0)
If Utility.GetINIBool("bVATSDisable:VATS") == false
KillMove.SetValueInt(1)
Else
KillMove.SetValueInt(0)
EndIf
EndFunction
Function SetAutoSaveInterval()