Replace above 2 lines with 
```code
me->DespawnOrUnsummon();
```