Page 1 of 1

Get mod name in data phase

Posted: Fri May 08, 2020 6:43 pm
by moon69
In data.lua, I can scrape the current mod name from debug.getinfo(1).source, but is there a more elegant way?