HomeWildfire Games

Early-exit when destroying invalid entities (INVALID_ENTITY, already destroyed…)

Description

Early-exit when destroying invalid entities (INVALID_ENTITY, already destroyed…)

Destroying INVALID_ENTITY is valid and should do nothing.

The current code will send MT_Destroy messages when doing this, which is un-necessary work and feels kind of broken to me.
Early-exit instead.

Reviewed By: Itms

Differential Revision: https://code.wildfiregames.com/D1736