possible bug with repeating

i am a begginer that just joined i feel like im missing something very big but its just an issue with calling it. i am writing a grass spawning script similar to minecraft except without perlin noise and some code is not repeating itself when im telling it to. what the specific issue is that i am telling it to do some code if this int is 1 and this other int is 1 but even when i check the specific prefab and confirm that it has these numbers it is not executing the code. i will leave the code and the screenshot of how it looks here. thanks

6858233–799445–TestMovingLeft.cs (45.6 KB)

also i managed to repeat the issue with this code that i tried doing instead of that one

6860741–800087–TestMovingLeft1.cs (36 KB)

i think it was lazy coding, i managed to fix it but i forgot how. anyways if this is a bug then you should probably fix it.

it was 100% my fault. im an idiot