feat(Vehicle): Added keep engine running functionality (#1426)

This commit is contained in:
Sixhei Tartari
2023-06-16 14:27:47 +02:00
committed by GitHub
parent 3fbcaeb2f9
commit e8c8a5755b
5 changed files with 40 additions and 8 deletions

View File

@ -6,9 +6,9 @@
#include "script_patches.hpp"
#include "services/context_menu/context_menu_service.hpp"
#include "services/orbital_drone/orbital_drone.hpp"
#include "services/squad_spawner/squad_spawner.hpp"
#include "services/tunables/tunables_service.hpp"
#include "services/vehicle/vehicle_control_service.hpp"
#include "services/squad_spawner/squad_spawner.hpp"
#include "thread_pool.hpp"
@ -203,7 +203,7 @@ namespace big
while (true)
{
g_squad_spawner_service.tick();
script::get_current()->yield();
}
}