Fixed logic in _00E_PlayerhousingEnableBuilmodeOE

This commit is contained in:
Eddoursul 2024-02-12 19:23:12 +01:00
parent 40a584d238
commit c1fa7a2738
2 changed files with 4 additions and 2 deletions

View File

@ -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