mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-09 22:37:07 +00:00
Changed time when buff station spawns
This commit is contained in:
parent
204f03fd2a
commit
1122f50c7c
@ -200,6 +200,7 @@ void BaseSurvivalServer::OnActivityTimerDone(Entity *self, const std::string &na
|
|||||||
ActivityTimerStop(self, SpawnTickTimer);
|
ActivityTimerStop(self, SpawnTickTimer);
|
||||||
ActivityTimerStart(self, CoolDownStopTimer, 1, constants.coolDownTime);
|
ActivityTimerStart(self, CoolDownStopTimer, 1, constants.coolDownTime);
|
||||||
|
|
||||||
|
ActivateSpawnerNetwork(spawnerNetworks.rewardNetworks);
|
||||||
SpawnerReset(spawnerNetworks.baseNetworks, false);
|
SpawnerReset(spawnerNetworks.baseNetworks, false);
|
||||||
SpawnerReset(spawnerNetworks.randomNetworks, false);
|
SpawnerReset(spawnerNetworks.randomNetworks, false);
|
||||||
} else if (name == CoolDownStopTimer) {
|
} else if (name == CoolDownStopTimer) {
|
||||||
@ -302,7 +303,6 @@ void BaseSurvivalServer::StartWaves(Entity *self) {
|
|||||||
self->SetVar<bool>(FirstTimeDoneVariable, true);
|
self->SetVar<bool>(FirstTimeDoneVariable, true);
|
||||||
self->SetVar<std::string>(MissionTypeVariable, state.players.size() == 1 ? "survival_time_solo" : "survival_time_team");
|
self->SetVar<std::string>(MissionTypeVariable, state.players.size() == 1 ? "survival_time_solo" : "survival_time_team");
|
||||||
|
|
||||||
ActivateSpawnerNetwork(spawnerNetworks.rewardNetworks);
|
|
||||||
ActivateSpawnerNetwork(spawnerNetworks.smashNetworks);
|
ActivateSpawnerNetwork(spawnerNetworks.smashNetworks);
|
||||||
self->SetNetworkVar<bool>(WavesStartedVariable, true);
|
self->SetNetworkVar<bool>(WavesStartedVariable, true);
|
||||||
self->SetNetworkVar<std::string>(StartWaveMessageVariable, "Start!");
|
self->SetNetworkVar<std::string>(StartWaveMessageVariable, "Start!");
|
||||||
|
Loading…
Reference in New Issue
Block a user