RestoreScoreboard
[SotS : fix] Brings back missing scoreboard strips for dead players — [ client-side ]
Last updated | 2 months ago |
Total downloads | 28397 |
Total rating | 3 |
Categories | Tweaks Client-side Seekers of the Storm Update |
Dependency string | itsschwer-RestoreScoreboard-1.0.0 |
Dependants | 16 other packages depend on this package |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2117README
Restore Scoreboard
reverts the change in Seekers of the Storm where generation of scoreboard strips for dead players is skipped.
note: only very minimal local testing was performed — should be fully client-side (i.e. not interfere with other players who may not have the mod installed) and have no side-effects — report any issues to the linked repository if found!
technical
// SotS
List<PlayerCharacterMasterController> list = PlayerCharacterMasterController.instances.Where((PlayerCharacterMasterController x) => x.gameObject.activeInHierarchy && x.master.GetBody() != null && Util.GetBestMasterName(x.master) != null).ToList();
// pre-SotS
ReadOnlyCollection<PlayerCharacterMasterController> instances = PlayerCharacterMasterController.instances;