Update SGCannon.cpp

This commit is contained in:
David Markowitz
2025-01-09 21:27:20 -08:00
committed by GitHub
parent 94efb258e1
commit 94168f357d

View File

@@ -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());