mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 03:10:45 -05:00
Add comment
This commit is contained in:
parent
d9aff659ba
commit
19fe726cea
@ -117,6 +117,7 @@ namespace Aki.SinglePlayer.Patches.ScavMode
|
||||
// Get fields from MainMenuController.cs
|
||||
var raidSettings = Traverse.Create(menuController).Field("raidSettings_0").GetValue<RaidSettings>();
|
||||
|
||||
// Find the private field of type `MatchmakerPlayerControllerClass`
|
||||
var matchmakerPlayersController = menuController.GetType()
|
||||
.GetFields(AccessTools.all)
|
||||
.Single(field => field.FieldType == typeof(MatchmakerPlayerControllerClass))
|
||||
|
Loading…
x
Reference in New Issue
Block a user