Log de se faire tirer
This commit is contained in:
parent
547d0fb3f8
commit
38bab49806
@ -281,6 +281,11 @@ void Server::Run() {
|
|||||||
/* Process */
|
/* Process */
|
||||||
|
|
||||||
if (conn->m_nsync) {
|
if (conn->m_nsync) {
|
||||||
|
if (conn->player->m_hit) {
|
||||||
|
std::string str = conn->player->GetUsername();
|
||||||
|
str = str.append(" has been hit: ").append(std::to_string(conn->player->GetHP()));
|
||||||
|
Log(str, false, false);
|
||||||
|
}
|
||||||
|
|
||||||
Timestamp tstamp = conn->Run(m_world);
|
Timestamp tstamp = conn->Run(m_world);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user