Skip to content

Commit

Permalink
Merge pull request #468 from CBATeam/fix-addkeybinding-on-headless
Browse files Browse the repository at this point in the history
Quit 'CBA_fnc_addKeybind' on headless clients, fix #467
  • Loading branch information
Killswitch00 authored Aug 17, 2016
2 parents 1f22d8f + 0a364af commit ca02909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/keybinding/fnc_addKeybind.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Author:
#include "\x\cba\addons\keybinding\script_component.hpp"

// Clients only.
if (isDedicated) exitWith {};
if (!hasInterface) exitWith {};

_nullKeybind = [-1, [false,false,false]];

Expand Down

0 comments on commit ca02909

Please sign in to comment.