H
HalfSquat
Guest
I have code in the step event in my player object that's supposed to destroy the other object when the player touches it, but for some reason the game keeps trying to destroy the player object itself. I have no idea why this is happening.
Code:
if (place_meeting(x, y, obj_spiritBlock))
{
if dashGun = true || rocketGun = true || powerGun = true || multiGun = true
{
instance_destroy(other)
}
}