diff --git a/scripts/_00e_playerhousingenablebuilmodeoe.pex b/scripts/_00e_playerhousingenablebuilmodeoe.pex index bb23aa5f..057d2534 100644 Binary files a/scripts/_00e_playerhousingenablebuilmodeoe.pex and b/scripts/_00e_playerhousingenablebuilmodeoe.pex differ diff --git a/source/scripts/_00e_playerhousingenablebuilmodeoe.psc b/source/scripts/_00e_playerhousingenablebuilmodeoe.psc index c22b3ce9..bf97f94f 100644 --- a/source/scripts/_00e_playerhousingenablebuilmodeoe.psc +++ b/source/scripts/_00e_playerhousingenablebuilmodeoe.psc @@ -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 \ No newline at end of file