rfuzzo / Immersive-Travel

https://rfuzzo.github.io/Immersive-Travel/
MIT License
0 stars 1 forks source link

crashing on accessing script variables #10

Open abitoftaste opened 4 days ago

abitoftaste commented 4 days ago

e.g. when using Selection Details on boat scenic travellers, or trying to access e.g. companion variable from some activate event I think it could work better if you replace reference.attachments.variables.script = nil with reference:clearActionFlag(tes3.actionFlag.useEnabled) this way should just disable activation without changing variables status

rfuzzo commented 4 days ago

Hej thank you, I will check this. I'm rewriting the mod anyways