Fix lastGameType not being updated if game type was demo or save (fixes a crash)
Previously, if you first played a normal game, then a demo, the “play again” button
would appear, but clicking it would only crash HW. This fix will remove this button
after a demo or save, because the frontend doesn't know how to restart demos or saves
yet.
[package]
name = "hedgewars-server"
version = "0.0.1"
authors = [ "Andrey Korotaev <a.korotaev@hedgewars.org>" ]
[dependencies]
rand = "0.3"
mio = "0.6"
slab = "0.4"
netbuf = "0.4.0"
nom = "3.2"
env_logger = "0.4"
log = "0.3.8"