Modded keybindings in vanilla keybinding categories cause category to show twice

Started by Fluffy (l2032), January 23, 2016, 03:43:48 PM

Previous topic - Next topic

Fluffy (l2032)

New KeyBindingDefs using a vanilla KeyBindingCategoryDef create their own 'tab' in the keybinding options.

This def:
<?xml version="1.0" encoding="utf-8" ?>

<KeyBindingDefs>

  <!-- In-game camera -->
 
  <KeyBindingDef Name="GameKeyBinding" Abstract="true">
    <category>Game</category>
  </KeyBindingDef>

  <KeyBindingDef ParentName="GameKeyBinding">
    <defName>FollowSelected</defName>
    <label>follow</label>
    <defaultKeyCodeA>ScrollLock</defaultKeyCodeA>
  </KeyBindingDef>

</KeyBindingDefs>


Gives this result in the option screen;