Skip to content

Commit

Permalink
Merge pull request #477 from CBATeam/remove-peek
Browse files Browse the repository at this point in the history
remove broken function 'CBA_fnc_peek'
  • Loading branch information
Killswitch00 committed Aug 22, 2016
2 parents b7be959 + 15dd6d7 commit db750ca
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 50 deletions.
6 changes: 0 additions & 6 deletions addons/diagnostic/CfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ class CfgFunctions
description = "Logs a message to the RPT log.";
file = "\x\cba\addons\diagnostic\fnc_log.sqf";
};
// CBA_fnc_peek
class peek
{
description = "Peek at variable on the server To receive the variable content back, you will have to [""cba_diagnostics_receive_peak"", {_this call myFunction}] call CBA_fnc_addEventHandler;";
file = "\x\cba\addons\diagnostic\fnc_peek.sqf";
};
// CBA_fnc_test
class test
{
Expand Down
16 changes: 0 additions & 16 deletions addons/diagnostic/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,4 @@ LOG(MSG_INIT);

[QUOTE(GVAR(debug)), { _this call (uiNamespace getVariable "CBA_fnc_debug") }] call (uiNamespace getVariable "CBA_fnc_addEventHandler");

if (SLX_XEH_MACHINE select 3) then
{
FUNC(handle_peak) =
{
params ["_variable"];
if (isNil _variable) then
{
[QUOTE(GVAR(receive_peak)), [_variable, nil]] call (uiNamespace getVariable "CBA_fnc_globalEvent");
} else {
[QUOTE(GVAR(receive_peak)), [_variable, call compile _variable]] call (uiNamespace getVariable "CBA_fnc_globalEvent");
};

};
[QUOTE(GVAR(peek)), { _this call CBA_fnc_handle_peak }] call (uiNamespace getVariable "CBA_fnc_addEventHandler");
};

PREP(perf_loop);
28 changes: 0 additions & 28 deletions addons/diagnostic/fnc_peek.sqf

This file was deleted.

0 comments on commit db750ca

Please sign in to comment.