Skip to content

Commit d08e055

Browse files
committed
Use RegisterGameEndTime and SendStatisticsPacket from YRpp
1 parent 63779d0 commit d08e055

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Spawner/Statistics.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ DEFINE_HOOK(0x64C81E, ExecuteDoList_SendStatistics_2, 0x6)
205205
// add a call to RegisterGameEndTime here to set the correct GameEndTime
206206
DEFINE_HOOK(0x64C84B, ExecuteDoList_SendStatistics_3, 0x5)
207207
{
208-
CALL(0x6C8820); // RegisterGameEndTime
209-
CALL(0x6C6F50); // SendStatisticsPacket
208+
Game::RegisterGameEndTime();
209+
Game::SendStatisticsPacket();
210210

211211
return 0x64C84B + 0x5;
212212
}

0 commit comments

Comments
 (0)