0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 01:30:45 -05:00

temp fix for BTR manager

This commit is contained in:
CWX 2024-07-04 22:02:42 +01:00
parent 1f4a93df3f
commit 96ea460fac

View File

@ -185,7 +185,7 @@ namespace SPT.Custom.BTR
}
btrServerSide.CurrentPathConfig = btrMapConfig.PathsConfiguration.pathsConfigurations.RandomElement();
btrServerSide.Initialization(btrMapConfig);
btrController.method_14(); // creates and assigns the BTR a fake stash
btrController.method_19(); // creates and assigns the BTR a fake stash
DisableServerSideObjects();
@ -270,7 +270,7 @@ namespace SPT.Custom.BTR
List<Player> passengers = gameWorld.AllAlivePlayersList.Where(x => x.BtrState == EPlayerBtrState.Inside).ToList();
List<int> playersToNotify = passengers.Select(x => x.Id).ToList();
btrController.method_6(playersToNotify, serviceType); // notify BTR passengers that a service has been purchased
btrController.method_11(playersToNotify, serviceType); // notify BTR passengers that a service has been purchased
switch (serviceType)
{