1
0

Add more statistic tracking (#4837)

+ Added possible 1.8 stats
+ Added stat tracking for 1.8.2
+ Added stat tracking for 1.9
+ Added the breed cow achievement

Co-authored-by: 12xx12 <12xx12100@gmail.com>
This commit is contained in:
12xx12
2020-09-05 17:13:44 +02:00
committed by GitHub
parent 2d197e147e
commit c2f8ceb554
18 changed files with 88 additions and 6 deletions

View File

@@ -2109,6 +2109,7 @@ void cClientHandle::Tick(float a_Dt)
LOGD("Client %s @ %s (%p) has been queued for destruction, destroying now.",
m_Username.c_str(), m_IPString.c_str(), static_cast<void *>(this)
);
GetPlayer()->GetStatManager().AddValue(Statistic::LeaveGame);
Destroy();
return;
}