Add RefuseCollector Job and other misc
This commit is contained in:
@@ -722,12 +722,8 @@ namespace ReallifeGamemode.Server.Managers
|
||||
private static readonly Dictionary<NetHandle, Vector3> lastPositions = new Dictionary<NetHandle, Vector3>();
|
||||
private static DateTime lastSave = DateTime.UtcNow;
|
||||
|
||||
public static void StartTimer()
|
||||
public static void CheckEnabledMods()
|
||||
{
|
||||
Timer timer = new Timer(500);
|
||||
timer.Elapsed += VehicleTimerTick;
|
||||
timer.Start();
|
||||
|
||||
foreach (var name in _enabledMods)
|
||||
{
|
||||
if (_enabledMods.Where(x => x == name).Count() != 1)
|
||||
@@ -737,7 +733,7 @@ namespace ReallifeGamemode.Server.Managers
|
||||
}
|
||||
}
|
||||
|
||||
private static void VehicleTimerTick(object sender, ElapsedEventArgs e)
|
||||
public static void VehicleTimerTick()
|
||||
{
|
||||
NAPI.Pools.GetAllVehicles().ForEach(v =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user