Skip to content

Commit 644da86

Browse files
committed
moved killed by 079 robot Message in the Report Window
1 parent 9d4f88e commit 644da86

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

Scp079Rework/Commands/DeathCommand.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
using Synapse.Command;
2-
using System;
3-
using System.Collections.Generic;
42
using System.Linq;
53
using Synapse.Api;
64
using UnityEngine;

Scp079Rework/EventHandlers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private void OnDeath(Synapse.Api.Events.SynapseEventArguments.PlayerDeathEventAr
2727
if(ev.Victim.RoleID == 79)
2828
ev.Killer.SendBroadcast(3,"<i>You have killed <color=red>Scp079-Robot");
2929
if (ev.Killer.RoleID == 79)
30-
ev.Victim.SendBroadcast(3, "<i><color=red>Scp079-robot</color> killed you");
30+
ev.Victim.OpenReportWindow("<i><color=red>Scp079-robot</color> killed you");
3131
}
3232

3333
private void OnKeyPress(Synapse.Api.Events.SynapseEventArguments.PlayerKeyPressEventArgs ev)

Scp079Rework/Scp079Rework.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@
3535
<HintPath>..\packages\Lib.Harmony.2.0.4\lib\net472\0Harmony.dll</HintPath>
3636
</Reference>
3737
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
38-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\Assembly-CSharp.dll</HintPath>
38+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\Assembly-CSharp.dll</HintPath>
3939
</Reference>
4040
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
41-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\Assembly-CSharp-firstpass.dll</HintPath>
41+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\Assembly-CSharp-firstpass.dll</HintPath>
4242
</Reference>
4343
<Reference Include="LiteDB, Version=5.0.9.0, Culture=neutral, PublicKeyToken=4ee40123013c9f27, processorArchitecture=MSIL">
4444
<HintPath>..\packages\LiteDB.5.0.9\lib\net45\LiteDB.dll</HintPath>
4545
</Reference>
4646
<Reference Include="Mirror, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
47-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\Mirror.dll</HintPath>
47+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\Mirror.dll</HintPath>
4848
</Reference>
4949
<Reference Include="Synapse, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
50-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\Synapse.dll</HintPath>
50+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\Synapse.dll</HintPath>
5151
</Reference>
5252
<Reference Include="System" />
5353
<Reference Include="System.Core" />
@@ -59,13 +59,13 @@
5959
<Reference Include="System.Net.Http" />
6060
<Reference Include="System.Xml" />
6161
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
62-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\UnityEngine.dll</HintPath>
62+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\UnityEngine.dll</HintPath>
6363
</Reference>
6464
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
65-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\UnityEngine.CoreModule.dll</HintPath>
65+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\UnityEngine.CoreModule.dll</HintPath>
6666
</Reference>
6767
<Reference Include="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
68-
<HintPath>..\packages\SynapseSL.2.3.0-pre\lib\net472\UnityEngine.PhysicsModule.dll</HintPath>
68+
<HintPath>..\packages\SynapseSL.2.3.0\lib\net472\UnityEngine.PhysicsModule.dll</HintPath>
6969
</Reference>
7070
<Reference Include="YamlDotNet, Version=8.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
7171
<HintPath>..\packages\YamlDotNet.8.1.2\lib\net45\YamlDotNet.dll</HintPath>

Scp079Rework/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<packages>
33
<package id="Lib.Harmony" version="2.0.4" targetFramework="net472" />
44
<package id="LiteDB" version="5.0.9" targetFramework="net472" />
5-
<package id="SynapseSL" version="2.3.0-pre" targetFramework="net472" />
5+
<package id="SynapseSL" version="2.3.0" targetFramework="net472" />
66
<package id="YamlDotNet" version="8.1.2" targetFramework="net472" />
77
</packages>

0 commit comments

Comments
 (0)