Sign in to follow this  

Testing a gift handling mod?

Recommended Posts

myxal    348

So I noticed this in debugkeys.lua:

AddGameDebugKey(KEY_I, function()
        if TheInput:IsKeyDown(KEY_CTRL) and TheInput:IsKeyDown(KEY_SHIFT) then
                return true
    elseif TheInput:IsKeyDown(KEY_CTRL) then
        return true
    elseif TheInput:IsKeyDown(KEY_SHIFT) then
        return true

but hitting the key combinations just crashes the game, with neither of TheInventory methods existing (attempt to call method ... a nil value). Am I missing something here? Was this dropped at some point, or is it just unavailable in the public stable steam build?

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