mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-16 19:41:21 +00:00
Update SGCannon.cpp
This commit is contained in:
parent
94efb258e1
commit
94168f357d
@ -342,6 +342,7 @@ void SGCannon::StartGame(Entity* self) {
|
||||
|
||||
auto* player = Game::entityManager->GetEntity(self->GetVar<LWOOBJID>(PlayerIDVariable));
|
||||
if (player != nullptr) {
|
||||
// The client cant accept more than 10 results.
|
||||
GetLeaderboardData(self, player->GetObjectID(), GetConstants().activityID, 10);
|
||||
LOG("Sending ActivityStart");
|
||||
GameMessages::SendActivityStart(self->GetObjectID(), player->GetSystemAddress());
|
||||
|
Loading…
x
Reference in New Issue
Block a user