Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Re-added the ability to assign groups in Player::SetRole.
Browse files Browse the repository at this point in the history
Bumped to version 2.2.1.
  • Loading branch information
TheKigen committed May 29, 2018
1 parent e445353 commit 1801859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Smod2/Smod2/API/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public abstract class Player
public abstract void SetAmmo(AmmoType type, int amount);
public abstract Vector GetPosition();
public abstract void Teleport(Vector pos);
public abstract void SetRole(string color, string test);
public abstract void SetRole(string color = "", string text = "", string group = "");
public abstract void Disconnect();
public abstract void Disconnect(string message);
public abstract void Ban(int duration);
Expand Down
2 changes: 1 addition & 1 deletion Smod2/Smod2/PluginManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Smod2
{
public class PluginManager
{
public static readonly string SMOD_API_VERSION = "2.2.0";
public static readonly string SMOD_API_VERSION = "2.2.1";
private Dictionary<string, Plugin> plugins;

private ICommandManager commandManager;
Expand Down

0 comments on commit 1801859

Please sign in to comment.