Skip to content

Commit

Permalink
Add missing Translate methods in battle notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
starfi5h committed Apr 13, 2024
1 parent 9e919a5 commit 773782b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NebulaPatcher/Patches/Dynamic/DFRelayComponent_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static bool LeaveBase_Prefix(DFRelayComponent __instance)
var planet = GameMain.galaxy.PlanetById(__instance.targetAstroId);
if (planet != null)
{
Multiplayer.Session.Enemies.DisplayPlanetPingMessage("DF relay left from planet", __instance.targetAstroId, __instance.targetLPos);
Multiplayer.Session.Enemies.DisplayPlanetPingMessage("DF relay left from planet".Translate(), __instance.targetAstroId, __instance.targetLPos);
}
}

Expand Down
2 changes: 1 addition & 1 deletion NebulaPatcher/Patches/Dynamic/DFTinderComponent_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static bool DispatchFromHive_Prefix(ref DFTinderComponent __instance, int
{
__instance.targetHiveAstroId = _targetHiveAstroId;
Multiplayer.Session.Network.SendPacket(new DFTinderDispatchPacket(__instance));
Multiplayer.Session.Enemies.DisplayAstroMessage("Dark Fog seed send out from".Translate(), hive1.starData.astroId);
Multiplayer.Session.Enemies.DisplayAstroMessage("DF seed sent out from".Translate(), hive1.starData.astroId);
}
return true;
}
Expand Down

0 comments on commit 773782b

Please sign in to comment.