Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions DataStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,13 @@ private static void AnnounceKill(PlayerStatistics victimUser, PlayerStatistics k
_ => null
};

ServerChatUtils.SendSystemMessageToAllClients(VWorld.Server.EntityManager, Markup.Prefix + message);
FixedString512Bytes systemLostStreakMessage = Markup.Prefix + message;
ServerChatUtils.SendSystemMessageToAllClients(VWorld.Server.EntityManager, ref systemLostStreakMessage);

if (!string.IsNullOrEmpty(killMsg) && Settings.AnnounceKillstreak)
{
ServerChatUtils.SendSystemMessageToAllClients(VWorld.Server.EntityManager, Markup.Prefix + killMsg);
FixedString512Bytes systemKillMessage = Markup.Prefix + killMsg;
ServerChatUtils.SendSystemMessageToAllClients(VWorld.Server.EntityManager, ref systemKillMessage);
}
}

Expand Down
2 changes: 1 addition & 1 deletion Killfeed.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.691" IncludeAssets="compile" />
<PackageReference Include="BepInEx.Core" Version="6.0.0-be.691" IncludeAssets="compile" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.*" />
<PackageReference Include="VRising.Unhollowed.Client" Version="1.0.*" />
<PackageReference Include="VRising.Unhollowed.Client" Version="1.1.*" />
<PackageReference Include="VRising.VampireCommandFramework" Version="0.9.*" />
<PackageReference Include="VRising.Bloodstone" Version="0.2.*" />
</ItemGroup>
Expand Down