Sign in to follow this  
_Q_

[Bug Report] CAPY_DLC always NIL

Recommended Posts

_Q_    644

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this