diff --git a/src/base/action.lua b/src/base/action.lua index 8fb2ceae..2daf6816 100644 --- a/src/base/action.lua +++ b/src/base/action.lua @@ -55,7 +55,9 @@ -- translate things accordingly. I'll yank this once the next-gen -- actions are done and official if a.isnextgen then - _ACTION = _ACTION:sub(1, -3) + if _ACTION:endswith("ng") then + _ACTION = _ACTION:sub(1, -3) + end for sln in premake.solution.each() do if a.onsolution then a.onsolution(sln)