Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Commit

Permalink
Moved from Moved from .NET 4.6.1 to .NET 4.7.1
Browse files Browse the repository at this point in the history
Updated to Smod version 3.3.0
  • Loading branch information
MrMith committed Feb 18, 2019
1 parent 33d3212 commit c5ae0ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SCP-343/SCP-343.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SCP_343</RootNamespace>
<AssemblyName>SCP-343</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
Expand Down
6 changes: 3 additions & 3 deletions SCP-343/SCP_343.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ namespace SCP_343
name = "SCP-343",
description = "SCP-343 is a passive immortal D-Class Personnel. He spawns with one Flashlight and any weapon he picks up is morphed to prevent violence. He seeks to help out who he deems worthy.",
id = "Mith.SCP-343",
version = "1.3.5",
version = "1.3.6",
SmodMajor = 3,
SmodMinor = 2,
SmodRevision = 2
SmodMinor = 3,
SmodRevision = 0
)]
class SCP343 : Plugin
{
Expand Down
2 changes: 1 addition & 1 deletion SCP-343/SCP_343Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public string[] OnCall(ICommandSender sender, string[] args)
Playa.SetHealth(EventLogic._343Config.SCP343_HP);
}

SCP343.Active343AndBadgeDict.Add(Playa.SteamId, new SCP343.PlayerInfo(Playa.GetUserGroup().Name, Playa.GetUserGroup().Color));
SCP343.Active343AndBadgeDict.Add(Playa.SteamId, new SCP343.PlayerInfo(Playa.GetUserGroup().BadgeText, Playa.GetUserGroup().Color));

Playa.SetRank("red", "SCP-343");
return new string[] { "Made " + Playa.Name + " SCP343!" };
Expand Down
2 changes: 1 addition & 1 deletion SCP-343/SCP_343EventLogic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void OnRoundStart(RoundStartEvent ev)
if (DClassList.Count > 0 && plugin.pluginManager.Server.GetPlayers().Count > 2)
{
Player TheChosenOne = DClassList[RNG.Next(DClassList.Count)];
SCP343.Active343AndBadgeDict.Add(TheChosenOne.SteamId, new SCP343.PlayerInfo(TheChosenOne.GetUserGroup().Name, TheChosenOne.GetUserGroup().Color));
SCP343.Active343AndBadgeDict.Add(TheChosenOne.SteamId, new SCP343.PlayerInfo(TheChosenOne.GetUserGroup().BadgeText, TheChosenOne.GetUserGroup().Color));
TheChosenOne.GiveItem(ItemType.FLASHLIGHT);
if (_343Config.SCP343_HP != -1)
{
Expand Down

0 comments on commit c5ae0ed

Please sign in to comment.