08.06.2016, 07:20
You were defining tower locally so when the command was called it was automatically set to 0. You need to define it globally so the script remembers it. Otherwise, then the command is executed it creates the variable locally and therefor as a default value of 0.