Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Jabak
2024-07-07 22:09:11 +03:00
1623 changed files with 27182 additions and 32363 deletions

View File

@@ -30,10 +30,10 @@ public sealed class ArrivalNotificationSystem : EntitySystem
if (!_prototypeManager.TryIndex<JobPrototype>(args.JobId, out var jobPrototype))
return;
if (jobPrototype.AnnouncementPrototype == null)
if (jobPrototype.ArrivalNotificationPrototype == null)
return;
if (!_prototypeManager.TryIndex<ArrivalNotificationPrototype>(jobPrototype.AnnouncementPrototype, out var notification))
if (!_prototypeManager.TryIndex<ArrivalNotificationPrototype>(jobPrototype.ArrivalNotificationPrototype, out var notification))
return;
var message = GetMessage(args.Mob,