Legit, I was going to put that it might've been a layer issue in my first reply, but it seems it may not be the case
I just uploaded it again. Could you check it now please? I confused the file before and accidentally put the same one as the old version.
Fr*ck. I think the new version solved it but now I ranned into another bug.
Nevermind I think it was just some other thing. Still I would like you to see if the main bug was fixed. I understand if you're tired but it would really help me.
Forget it, the bug is still there. I'm pretty much gonna stay here a long time, I would actually recommend you to just go and do other stuff, I have actually made you lose a lot of time.
It seems a lot harder to get the bug to occur consistently, but unfortunately occur it did. Also, for a bit after the mine explodes, I have some difficulty placing plants in it's tile, was that the other bug?
Edit: After some more testing (and general clicking around) I think I have a hunch, I think it's caused directly by the potato mines. After they explode, after a few seconds, I can start making plant stacks.
Thank you for that. It seems I actually figured out how to solve the bug but I need some more testing cuz it's not quite amusing to repost. Anyway, the problems seemed to be that when a zombie ate a plant, it didn't just reset the state of that tile, instead it reset the state of EVERY SINGLE TILE. That's why it kept being like that. However, now I added a condition that if a plant is above a tile, it automatically sets its state as an ocupied tile. This should work now.
Edit: Still trying, I'll let you know when it's done.