Fix inconsistencies in guest nick name generation
When the setting net/nick is empty, HW generates a guest name. But there were several problems:
- Team name did not match guest name
- Random guest number was re-rolled multiple times, causing inconsistencies
- Guest number was often too large (now capped at 99999)
Name: pas2c
Version: 0.1
Synopsis: pas2c
Description: pas2c
Homepage: https://www.hedgewars.org/
License: GPL-2
Author: unC0Rr
Maintainer: unC0Rr@hedgewars.org
Category: Converter
Build-type: Simple
Cabal-version: >=1.10
Executable pas2c
main-is: Main.hs
default-language: Haskell2010
build-depends:
base >= 4.3,
containers,
mtl >= 2,
parsec,
pretty,
transformers
if !os(windows)
build-depends: unix
ghc-options: -O2