local profile = require("core.profile")
local StoreCheckpointOverride = function(go)
  if go ~= nil then
    game.World.StoreCheckpoint({
      OverrideObject = go.Child
    })
  else
    game.World.StoreCheckpoint()
  end
end
return profile.WrapLibrary({StoreCheckpointOverride = StoreCheckpointOverride})
