Remove ForceFullUpdate, rework entity lifecycle, move skill selection to round end

This commit is contained in:
ByDexter 2026-07-12 16:52:57 +03:00
parent a5c0e3ca4b
commit 4b42670804
8 changed files with 251 additions and 216 deletions

View file

@ -30,7 +30,7 @@ namespace src
public override string ModuleName => "[CS2] [ jRandomSkills ]";
public override string ModuleAuthor => "D3X, Juzlus";
public override string ModuleDescription => "Plugin adds random skills every round for CS2 by D3X. Modified by Juzlus.";
public override string ModuleVersion => "1.2.2.b6";
public override string ModuleVersion => "1.2.2.b7";
public override void Load(bool hotReload)
{
@ -56,6 +56,13 @@ namespace src
});
}
public override void Unload(bool hotReload)
{
src.player.PerfLog.Info("===== PLUGIN UNLOAD (clean shutdown/reload) =====");
Debug.WriteToDebug("===== PLUGIN UNLOAD (clean shutdown/reload) =====");
base.Unload(hotReload);
}
internal void AddToManifest(string prop)
{
if (!ManifestResources.Contains(prop))