Skip to content

Commit

Permalink
Closes #45
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Sep 4, 2019
1 parent 56a0d27 commit 0552df1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DataStore2/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ function DataStore2:__call(dataStoreName, player)

game:BindToClose(function()
if not fired then
player.Parent = nil -- Forces AncestryChanged to fire and save the data
event.Event:wait()
end

Expand Down

0 comments on commit 0552df1

Please sign in to comment.