mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
fixed time log
This commit is contained in:
parent
c47e8783e6
commit
4503338378
@ -55,7 +55,6 @@ void ServerMain(int Port, int MaxClients) {
|
||||
}
|
||||
|
||||
ENetHost *server;
|
||||
|
||||
ENetAddress address = {0};
|
||||
|
||||
address.host = ENET_HOST_ANY; //Bind the server to the default localhost.
|
||||
|
@ -36,9 +36,9 @@ stringstream getDate() {
|
||||
|
||||
int month = 1 + ltm->tm_mon;
|
||||
int day = ltm->tm_mday;
|
||||
int hours = 1 + ltm->tm_hour;
|
||||
int minutes = 1 + ltm->tm_min;
|
||||
int seconds = 1 + ltm->tm_sec;
|
||||
int hours = ltm->tm_hour;
|
||||
int minutes = ltm->tm_min;
|
||||
int seconds = ltm->tm_sec;
|
||||
|
||||
string month_string;
|
||||
if (month < 10) month_string = "0" + to_string(month);
|
||||
|
@ -2,8 +2,6 @@
|
||||
// Created by Anonymous275 on 4/2/2020.
|
||||
//
|
||||
|
||||
#define LOGGER_H
|
||||
|
||||
#include <iostream>
|
||||
#include <ctime>
|
||||
#include <sstream>
|
||||
|
Loading…
x
Reference in New Issue
Block a user