Commit 794c6f69 by Anselme

removing spam logs, default address is now epicsparrow.com

parent 94891313
......@@ -22,7 +22,7 @@ int main(int argc, char** argv)
// SpriteAtlas::imageToC("../assets/colorpicker.png");
std::srand(std::time(NULL));
std::string address = "localhost";
std::string address = "epicsparrow.com";
unsigned short port = TCP_PORT;
// parsing arguments
......
......@@ -29,7 +29,7 @@ void Server::updateSockets(SocketHandler* socket_handler){
void Server::update()
{
sf::sleep(sf::seconds(REFRESH_TIME) - m_clock.getElapsedTime());
std::cout << "turn:" << m_map->getCurrentTurn() << " time elapsed : " << m_clock.getElapsedTime().asSeconds() << std::endl;
// std::cout << "turn:" << m_map->getCurrentTurn() << " time elapsed : " << m_clock.getElapsedTime().asSeconds() << std::endl;
m_clock.restart();
m_map->update();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment