We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da23ca9 commit 65bee0eCopy full SHA for 65bee0e
src/systems/shipsystemssystem.cpp
@@ -1,4 +1,5 @@
1
#include "shipsystemssystem.h"
2
+#include "multiplayer_server.h"
3
#include "components/reactor.h"
4
#include "components/beamweapon.h"
5
#include "components/missiletubes.h"
@@ -12,6 +13,7 @@
12
13
14
void ShipSystemsSystem::update(float delta)
15
{
16
+ if (!game_server) return;
17
for(auto [entity, system] : sp::ecs::Query<Reactor>())
18
updateSystem(system, delta, entity.hasComponent<Coolant>());
19
for(auto [entity, system] : sp::ecs::Query<BeamWeaponSys>())
0 commit comments