Init for SP and MP working, may rework it though

This commit is contained in:
ZioPao
2024-01-11 01:27:19 +01:00
parent f984a834fc
commit 1028cef704
3 changed files with 48 additions and 21 deletions

View File

@@ -143,6 +143,15 @@ TestFramework.registerTestModule("TimedActions", "CauterizeAction", function()
end)
TestFramework.registerTestModule("Various", "Player", function()
local Tests = {}
function Tests.Kill()
getPlayer():Kill(getPlayer())
end
return Tests
end)
--------------------------------------------------------------------------------------
if not getActivatedMods():contains("PerfTestFramework") or not isDebugEnabled() then return end
local PerfTest = require("PerfTest/main") -- SHould be global anyway