Skip to content

Commit cfb12bf

Browse files
committed
Actually fix issue
1 parent 58bb1f6 commit cfb12bf

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0]
11+
1012
### Fixed
1113

1214
- Fixed a bug where no messages would get received by any listeners due to specifics in Unity play mode timings

Editor/DxMessagingEditorInitializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private static void OnPlayModeStateChanged(PlayModeStateChange stateChange)
2626
{
2727
if (
2828
stateChange == PlayModeStateChange.EnteredEditMode
29-
|| stateChange == PlayModeStateChange.EnteredPlayMode
29+
|| stateChange == PlayModeStateChange.ExitingEditMode
3030
)
3131
{
3232
ApplyEditorSettings();

docs/images/DxMessaging-banner.svg

Lines changed: 1 addition & 1 deletion
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.wallstop-studios.dxmessaging",
3-
"version": "2.1.9",
3+
"version": "2.2.0",
44
"displayName": "DxMessaging",
55
"description": "Synchronous Event Bus for Unity",
66
"unity": "2021.3",

0 commit comments

Comments
 (0)