Skip to content

Commit

Permalink
Amended Xor UserDefine to ensure final cutscene triggers. Addendum to #8
Browse files Browse the repository at this point in the history
 and #397
  • Loading branch information
DarthParametric committed Mar 27, 2022
1 parent 6cc25ef commit dda3ff8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/k_kas_xor_user.nss
Expand Up @@ -72,7 +72,7 @@ void main() {
if (GetCurrentHitPoints(OBJECT_SELF) <= 20)
{
// If his mooks are dead and Xor is the last man standing, surrender and trigger his final cutscene.
if (!GetIsObjectValid(oThugA) && !GetIsObjectValid(oThugB) || GetIsDead(oThugA) && GetIsDead(oThugB))
if ( (!GetIsObjectValid(oThugA) || GetIsDead(oThugA)) && (!GetIsObjectValid(oThugB) || GetIsDead(oThugB)) )
{
SetGlobalFadeOut();

Expand Down
Binary file modified tslpatchdata/k_kas_xor_user.ncs
Binary file not shown.

0 comments on commit dda3ff8

Please sign in to comment.