Skip to content

Commit

Permalink
Merge branch 'development' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
1ForeverHD committed May 7, 2021
2 parents 8ce19ea + dc56537 commit 08ffa35
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.1.3] - May 7 2021
### Fixed
- A bug that occured when disconnecting localPlayer events



--------
## [2.1.2] - April 15 2021
### Fixed
- ``playerExiting`` not firing when the player dies and respawns immidately within the zone.
Expand Down
2 changes: 1 addition & 1 deletion src/Zone/VERSION.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-- v2.1.2
-- v2.1.3
2 changes: 2 additions & 0 deletions src/Zone/ZoneController.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ function ZoneController._deregisterConnection(registeredZone, registeredTriggerT
heartbeatConnections[registeredTriggerType] = nil
heartbeatConnection:Disconnect()
end
else
activeTriggers[registeredTriggerType] -= 1
end
registeredZone.activeTriggers[registeredTriggerType] = nil
if dictLength(registeredZone.activeTriggers) == 0 then
Expand Down

0 comments on commit 08ffa35

Please sign in to comment.