function OnEvent()
  if(event == PATCH_DOWNLOADED)
    PatchDownloadApply()
  end
end