_Q_ Posted January 28, 2016 Share Posted January 28, 2016 I'm doing checks for DLC's from modmain.lua and seems like this one SW_CHECK = GLOBAL.IsDLCEnabled(GLOBAL.CAPY_DLC) is always NIL even when loading SW world. local ROG = GLOBAL.IsDLCEnabled(GLOBAL.REIGN_OF_GIANTS) local SW_CHECK = GLOBAL.IsDLCEnabled(GLOBAL.CAPY_DLC) ../mods/Wall Gates/modmain.lua(7,1) false ../mods/Wall Gates/modmain.lua(8,1) This one gives the same NIL result SW_CHECK = GLOBAL.rawget(GLOBAL, "CAPY_DLC") and GLOBAL.IsDLCEnabled(GLOBAL.CAPY_DLC) Reinstalled the game and DLC's, seems to be working just fine now. View full bug Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now