fix: imaginite on racing minigames and add null checks (#1958)

This commit is contained in:
David Markowitz
2026-02-23 01:16:36 -08:00
committed by GitHub
parent 3c64b26c39
commit 434c9b6315
4 changed files with 8 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
#include "BitStream.h"
#include "Entity.h"
#include "Component.h"
#include "ActivityComponent.h"
#include "eReplicaComponentType.h"
#include <chrono>
@@ -104,7 +104,7 @@ struct RacingPlayerInfo {
/**
* Component that's attached to a manager entity in each race zone that loads player vehicles, keep scores, etc.
*/
class RacingControlComponent final : public Component {
class RacingControlComponent final : public ActivityComponent {
public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::RACING_CONTROL;