From c1fa7a27385d6b4214715e82feff6b2bd08584f3 Mon Sep 17 00:00:00 2001 From: Eddoursul Date: Mon, 12 Feb 2024 19:23:12 +0100 Subject: [PATCH] Fixed logic in _00E_PlayerhousingEnableBuilmodeOE --- .../_00e_playerhousingenablebuilmodeoe.pex | Bin 1281 -> 1271 bytes .../_00e_playerhousingenablebuilmodeoe.psc | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/_00e_playerhousingenablebuilmodeoe.pex b/scripts/_00e_playerhousingenablebuilmodeoe.pex index 057d25346a0cc0095b121ea5d45b9e27373d323e..f68337e5146b13e402913d4884b8498f558c00e0 100644 GIT binary patch delta 545 zcmZ8dJ5Iw;5S+Ea!Et^9lYo;Dej(vgAh-n$5)B0f3W*Uxkt3n>5iOnN10Zn?8fv%z z6%{=t5)I5g#|>V2y}NH_-mLHQ-)`mS{N=;8Am9_e_P*lEQ`@;24hCTauRo3k!^vT<^qFUHl!FdS_vvA=e z&nTEELPOE>fP7$ delta 510 zcmZ8cyG{a85Iw`x z82;JyBplAq!*MtZ zjb8z5tp8XEB`Vp1oNnpx1I)qIlW;G%%lH1X8Lx?H$|iWyqgUN7LIuDLqdLW91- zl2sLK3wBcUnxM%(tGj=yoZi4*!Zr$Z!g!)j74rl|o@ArNP22pz0vqUH-^}PT_GUL8q PIb9=3&=EoEAzS+fIeaZw diff --git a/source/scripts/_00e_playerhousingenablebuilmodeoe.psc b/source/scripts/_00e_playerhousingenablebuilmodeoe.psc index bf97f94f..8bfb60aa 100644 --- a/source/scripts/_00e_playerhousingenablebuilmodeoe.psc +++ b/source/scripts/_00e_playerhousingenablebuilmodeoe.psc @@ -5,8 +5,10 @@ _00E_PlayerhousingMaster Property master auto GlobalVariable Property _00E_NQ24_PlayerHouseOwned Auto Event OnTriggerEnter(ObjectReference akActionRef) - if akActionRef == Game.GetForm(0x14) && SKSE.GetVersion() - master.enableBuildmode() + if akActionRef == Game.GetForm(0x14) + if SKSE.GetVersion() + master.enableBuildmode() + endif if _00E_NQ24_PlayerHouseOwned.GetValueInt() == 0 _00E_NQ24_PlayerHouseOwned.SetValueInt(1) endif