mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-04 13:12:31 +08:00
Squad Spawner (#1250)
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include "services/context_menu/context_menu_service.hpp"
|
||||
#include "services/orbital_drone/orbital_drone.hpp"
|
||||
#include "services/vehicle/vehicle_control_service.hpp"
|
||||
#include "services/squad_spawner/squad_spawner.hpp"
|
||||
#include "thread_pool.hpp"
|
||||
|
||||
|
||||
@ -217,4 +218,14 @@ namespace big
|
||||
script::get_current()->yield();
|
||||
}
|
||||
}
|
||||
|
||||
void backend::squad_spawner()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
g_squad_spawner_service.tick();
|
||||
|
||||
script::get_current()->yield();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user