[#modding] after a creature is destroyed by the event logic of an item they're holding, the...

Issue #3977 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: From Entropy to helado

Message (jump):

<From Entropy to helado> after a creature is destroyed by the event logic of an item they're holding, their other items' event logic continues to execute. in my case this cases a GameObject.IsUnderSky() check to have invalid input because that method doesn't expect the object in question to already be in the destruction process. ideally inventory item events should stop firing once the creature is destroyed

Comments (5)

  1. Sol

    this turned out to be easy enough to guard against with !floater.IsInGraveyard(), but it may still be worth looking into the exception from floater.IsUnderSky()

  2. Log in to comment