소스 검색

Change query reply method

nordsoft 2 년 전
부모
커밋
71cbb0e2e7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      client/CPlayerInterface.cpp

+ 1 - 2
client/CPlayerInterface.cpp

@@ -323,8 +323,7 @@ void CPlayerInterface::acceptTurn(QueryID queryID)
 			logGlobal->warn("Player has no towns, but daysWithoutCastle is not set");
 	}
 	
-	JsonNode reply(JsonNode::JsonType::DATA_NULL);
-	cb->sendQueryReply(reply, queryID);
+	cb->selectionMade(0, queryID);
 }
 
 void CPlayerInterface::heroMoved(const TryMoveHero & details, bool verbose)