EVENT_OBJECT_DESTROYED for Structure wrong?
Geir1983 last edited by
EVENT_OBJECT_DESTROYED for structures seems to show up as one of the attackers id instead of the actual structure id itself.
The EVENT_ATTACK works as expected, here the ObjectId is the structure, but for the EVENT_OBJECT_DESTROYED the ObjectId is (one of?) the attacking creep.
For creeps the EVENT_OBJECT_DESTROYED works as expected, when a creep is destroyed the destroyed creep is in the ObjectId (not the attacking creeps).
@geir1983 Thank you for the report, we'll take a look.