Skip to content

Commit

Permalink
Merge pull request #9 from techno-dwarf-works/hotfix/loop-system
Browse files Browse the repository at this point in the history
Hotfix PlayerLoopSystemExtensions.cs
  • Loading branch information
uurha committed May 23, 2024
1 parent eadbe0b commit bb9ff35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Runtime/Extensions/PlayerLoopSystemExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ public static bool UnsubscribeRecursive(this ref PlayerLoopSystem self, PlayerLo
result = true;
}
#else
loopSystem.updateDelegate -= updateFunction;
result = true;
self.updateDelegate -= updateFunction;
result = true;
#endif

var subSystems = self.subSystemList;
Expand Down Expand Up @@ -236,8 +236,8 @@ public static bool UnsubscribeRecursive(this ref PlayerLoopSystem self, Type loo
result = true;
}
#else
loopSystem.updateDelegate -= updateFunction;
result = true;
self.updateDelegate -= updateFunction;
result = true;
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.tdw.better.commons",
"displayName": "Better Commons",
"version": "0.0.5",
"version": "0.0.6",
"unity": "2021.3",
"description": " ",
"dependencies": {
Expand Down

0 comments on commit bb9ff35

Please sign in to comment.