Bug Fixes in /tw

Fixes an "Invalid Number" error found in /tntwars

(first pull request so hope it's all correct...)