So here is my code

and for every time I put in a crate it goes back

```
spawned sent crate
You added 1 crate
You have added a total of 1 crates.
You added 1 crate
You have added a total of 1 crates.
You added 1 crate
You have added a total of 1 crates.
```

Also the server log repeats that I have added a crate a couple times even though I added 1.

I know its due to the cratesAdded = 0 but how can I change it so it doesnt loop like that