Skip to content

Commit

Permalink
Core - Show error if plugin not found (#1292)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Oct 12, 2023
1 parent 5e21f06 commit 8b3cb76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/sys_core/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if (!hasInterface) exitWith {};
// Ensure the TeamSpeak plugin handler code is initialized first
[] call EFUNC(sys_io,startServer);

if (("acre" callExtension "version") == "") then { ERROR_WITH_TITLE("ACRE","Plugin not found"); };

["handleGetClientID", FUNC(handleGetClientID)] call EFUNC(sys_rpc,addProcedure);
["handleGetPluginVersion", FUNC(handleGetPluginVersion)] call EFUNC(sys_rpc,addProcedure);
["handleGetHeadVector", FUNC(handleGetHeadVector)] call EFUNC(sys_rpc,addProcedure);
Expand Down

0 comments on commit 8b3cb76

Please sign in to comment.