* fix: fixes

* resolve conflicts

* very important commit

* very important gramatical error

* incredible architecture solution
This commit is contained in:
RinKeeper
2024-05-30 17:48:15 +03:00
committed by GitHub
parent da97732bf0
commit 357680d278
4 changed files with 12 additions and 5 deletions

View File

@@ -60,7 +60,7 @@ namespace Content.Server.Chemistry.EntitySystems
{
// Create a pop-up for the target
var userName = Identity.Entity(user, EntityManager);
_popup.PopupEntity(Loc.GetString("injector-component-injecting-target",
_popup.PopupEntity(Loc.GetString("patch-component-injecting-target",
("user", userName)), user, target);
}

View File

@@ -121,8 +121,12 @@ public sealed class ERTRecruitmentRule : StationEventSystem<ERTRecruitmentRuleCo
var ev = new ERTRecruitedReasonEvent();
RaiseLocalEvent(uid,ev);
_chat.DispatchServerMessage(args.PlayerSession,Loc.GetString("ert-description"));
_chat.DispatchServerMessage(args.PlayerSession, Loc.GetString("ert-reason", ("reason", ev.Reason)));
if (args.PlayerSession != null)
{
_chat.DispatchServerMessage(args.PlayerSession, Loc.GetString("ert-description"));
_chat.DispatchServerMessage(args.PlayerSession, Loc.GetString("ert-reason", ("reason", ev.Reason)));
}
}
private void OnStartAttempt(RoundStartAttemptEvent ev)
@@ -186,6 +190,7 @@ public sealed class ERTRecruitmentRule : StationEventSystem<ERTRecruitmentRuleCo
return false;
}
*/
var ertMap = EnsureComp<ERTMapComponent>(outpost);
ertMap.MapId = mapId;