diff --git a/GameObjectMethods.h b/GameObjectMethods.h index e5b7973..cf9ed65 100644 --- a/GameObjectMethods.h +++ b/GameObjectMethods.h @@ -194,7 +194,13 @@ namespace LuaGameObject else if (state == 1) go->SetGoState(GO_STATE_READY); else if (state == 2) + { +#ifdef TRINITY + go->SetGoState(GO_STATE_DESTROYED); +#else go->SetGoState(GO_STATE_ACTIVE_ALTERNATIVE); +#endif + } return 0; }