fix of issue #4

fix of https://github.com/OpenRA/OpenRAMasterServer/issues/4

Sorry for ugly code.