diff --git a/src/CampaignBehaviors/MessengerBehavior.cs b/src/CampaignBehaviors/MessengerBehavior.cs index a3443f20..5015e671 100644 --- a/src/CampaignBehaviors/MessengerBehavior.cs +++ b/src/CampaignBehaviors/MessengerBehavior.cs @@ -15,7 +15,11 @@ internal sealed class MessengerBehavior : CampaignBehaviorBase public override void RegisterEvents() { Events.MessengerSent.AddNonSerializedListener(this, OnMessengerSent); +#if e165 || e170 CampaignEvents.OnAfterSessionLaunchedEvent.AddNonSerializedListener(this, OnAfterSessionLaunched); +#else + CampaignEvents.OnSessionLaunchedEvent.AddNonSerializedListener(this, OnAfterSessionLaunched); +#endif CampaignEvents.HourlyTickEvent.AddNonSerializedListener(this, HasMessengerArrivedHourlyTick); }