Do not go into the buildmode without SKSE

This commit is contained in:
Eddoursul 2024-02-09 19:12:55 +01:00
parent 0d28276096
commit 4deaa231ed
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ _00E_PlayerhousingMaster Property master auto
GlobalVariable Property _00E_NQ24_PlayerHouseOwned Auto
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.getPlayer()
if akActionRef == Game.GetForm(0x14) && SKSE.GetVersion()
master.enableBuildmode()
if _00E_NQ24_PlayerHouseOwned.GetValueInt() == 0
_00E_NQ24_PlayerHouseOwned.SetValueInt(1)
@ -14,7 +14,7 @@ Event OnTriggerEnter(ObjectReference akActionRef)
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == Game.getPlayer()
if akActionRef == Game.GetForm(0x14)
master.disableBuildmode()
endif
EndEvent