Some fixes and a compat function for older versions

This commit is contained in:
Pao
2023-01-18 04:12:44 +01:00
parent 332c130dc1
commit 2a2b6ef978
5 changed files with 60 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
function ResetEverything()
local player = getPlayer()
local mod_data = player:getModData()
local mod_data = player:getModData()
mod_data.TOC = nil
TheOnlyCure.InitTheOnlyCure(_, player)