Skip to content

Unneccessary fix of thieving hotkey  #8

@wuxiangjinxing

Description

@wuxiangjinxing

The thieving hotkey is unnecessarily fixed to be 'F' even if the permanent thief button is turned off. What's worse, this hotkey setting conflicts with the AI hotkey from SCS.

What about moving this setting into the if block? For instance I guess you could change the code in content-bg2\UI.menu, line 11032 as the following:

	PermThief = Infinity_GetINIValue('Game Options','PermThief',0)
	if PermThief ~= 1 then
		PermThief = 0
		Infinity_SetINIValue('Game Options','PermThief',0)
            else
                    Infinity_SetINIValue('Keymap Action','Thieving',102) --fix the thieving hotkey only when the permanent thieving option is ON
	end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions