+local modname = core.get_current_modname() or "??"
+
-- This is an example function to ensure it's working properly, should be removed before merge
core.register_on_shutdown(function()
print("[PREVIEW] shutdown client")
})
core.after(2, function()
- print("After 2")
+ print("[PREVIEW] loaded " .. modname .. " mod")
end)