Download

Restart level causes collision event

im working on the endless runner tutorial and when i restart the level after a death the coins that should spawn on random tiles dont and they get added to my coin total as if the collision event occurred. in the last picture notice there are tiles without blockers or coins they should have coins but dont. these coins are the ones being added to my coin total in the upper left corner. i know this is whats happening because i can jump out of play and count the number of blockers and ((10)tiles-(#blockers))*(#coins Per empty tile)=Total coins added at restart. this doesnt happen when new tiles are being added during play. only on restart of the level.