Skip to content

Commit

Permalink
- FIXED: Remove code from loading as soon as it's loaded
Browse files Browse the repository at this point in the history
- UPDATED: Bump to version 167 of CSSharp
  • Loading branch information
kus committed Feb 19, 2024
1 parent 01d8c96 commit b8183bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 3 additions & 4 deletions CS2-Remove-Map-Weapons/CS2-Remove-Map-Weapons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@

namespace CS2_Remove_Map_Weapons
{
[MinimumApiVersion(65)]
[MinimumApiVersion(167)]
public partial class CS2_Remove_Map_Weapons : BasePlugin
{
public override string ModuleName => "Remove Map Weapons";
public override string ModuleVersion => "1.0.0";
public override string ModuleAuthor => "Kus (https://steamcommunity.com/id/kus/)";
public override string ModuleVersion => "1.0.1";
public override string ModuleAuthor => "Kus (https://github.com/kus)";
public override string ModuleDescription => "Remove the weapons from the map";

public override void Load(bool hotReload)
{
Log(PluginInfo());
Log(ModuleDescription);
RegisterEventHandlers();
RemoveMapWeapons();
}

void RemoveMapWeapons()
Expand Down
4 changes: 1 addition & 3 deletions CS2-Remove-Map-Weapons/CS2-Remove-Map-Weapons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
</PropertyGroup>

<ItemGroup>
<Reference Include="CounterStrikeSharp.API">
<HintPath>../../counterstrikesharp/api/CounterStrikeSharp.API.dll</HintPath>
</Reference>
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.167" />
</ItemGroup>

</Project>

0 comments on commit b8183bf

Please sign in to comment.