Skip to content

Commit

Permalink
Hotfix: v1.1.7a
Browse files Browse the repository at this point in the history
  • Loading branch information
NockyCZ committed Aug 18, 2024
1 parent 4c0ccf9 commit 8ccc7ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/Deathmatch/Deathmatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public partial class Deathmatch : BasePlugin, IPluginConfig<DeathmatchConfig>
{
public override string ModuleName => "Deathmatch Core";
public override string ModuleAuthor => "Nocky";
public override string ModuleVersion => "1.1.7";
public override string ModuleVersion => "1.1.7a";

public void OnConfigParsed(DeathmatchConfig config)
{
Expand Down Expand Up @@ -67,6 +67,7 @@ public override void Load(bool hotReload)
AddCommandListener("autobuy", OnRandomWeapons);

bool mapLoaded = false;
RegisterListener<OnMapEnd>(() => { mapLoaded = false; });
RegisterListener<OnMapStart>(mapName =>
{
if (!mapLoaded)
Expand Down
2 changes: 1 addition & 1 deletion source/Deathmatch/Functions/Players.cs
Original file line number Diff line number Diff line change
Expand Up @@ -492,4 +492,4 @@ public bool IsHaveBlockedRandomWeaponsIntegration(CCSPlayerController player)
return true;
}
}
}
}

0 comments on commit 8ccc7ef

Please sign in to comment.