Permalink
Browse files

preparation for spring/relayhost#3

  • Loading branch information...
abma committed Jan 30, 2019
1 parent 1b68db7 commit 12edf2c65bd5297fe6b9d2b9cce34c96990e753a
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/tasserver.cpp
@@ -1265,10 +1265,8 @@ void TASServer::HostBattle(const BattleOptions& bo, const std::string& password)
cmd += LSL::Util::MakeHashSigned(bo.gamehash);
cmd += stdprintf(" %d ", bo.rankneeded);
cmd += LSL::Util::MakeHashSigned(bo.maphash) + std::string(" ");
if (!bo.userelayhost) { //FIXME: relay host hasn't multiversion support yet, see https://github.com/springlobby/springlobby/issues/98
cmd += bo.engineName + std::string("\t");
cmd += bo.engineVersion + std::string("\t");
}
cmd += bo.engineName + std::string("\t");
cmd += bo.engineVersion + std::string("\t");
cmd += bo.mapname + std::string("\t");
cmd += LSL::Util::Replace(bo.description, "\t", " ") + std::string("\t");
cmd += bo.gamename;

0 comments on commit 12edf2c

Please sign in to comment.