Restarting 2D Rouge Like Game Tutorial with "R" keyboard press

Please read this thread, and edit your post : Using code tags properly

Try what I suggested about just looking for the Input. Perhaps you want to check ‘restart’ before you 'return ’ from update, too. (“return early in the Update loop” **).