QTfrontend/game.cpp
changeset 3011 73c8f618fd8b
parent 2948 3f21a9dc93d0
child 3160 f2a3d861b23a
equal deleted inserted replaced
3010:3aa3675d97eb 3011:73c8f618fd8b
   134 void HWGame::SendTrainingConfig()
   134 void HWGame::SendTrainingConfig()
   135 {
   135 {
   136     QByteArray traincfg;
   136     QByteArray traincfg;
   137     HWProto::addStringToBuffer(traincfg, "TL");
   137     HWProto::addStringToBuffer(traincfg, "TL");
   138 
   138 
   139     HWProto::addStringToBuffer(traincfg, "escript " + datadir->absolutePath() + "/Missions/" + training + ".hwt");
   139     HWProto::addStringToBuffer(traincfg, "escript " + datadir->absolutePath() + "/Missions/Training/" + training + ".lua");
   140 
   140 
   141     RawSendIPC(traincfg);
   141     RawSendIPC(traincfg);
   142 }
   142 }
   143 
   143 
   144 void HWGame::SendNetConfig()
   144 void HWGame::SendNetConfig()