mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix some undefined funcs / strings (#5889)
* fix missing respawn func / spectator string * fix readSettingsFromParamsArray, cleanup spec event * cleanup usless if statement
This commit is contained in:
parent
d234fd33a0
commit
2aaef9e791
@ -4,6 +4,7 @@ PREP(cbaSettings);
|
||||
PREP(cbaSettings_loadFromConfig);
|
||||
PREP(cbaSettings_settingChanged);
|
||||
PREP(cbaSettings_transferUserSettings);
|
||||
PREP(readSettingsFromParamsArray);
|
||||
|
||||
PREP(actionKeysNamesConverted);
|
||||
PREP(addCanInteractWithCondition);
|
||||
|
@ -19,9 +19,9 @@
|
||||
|
||||
params ["_unit", "_vehicle", "_caller"];
|
||||
|
||||
if (!alive _unit) then {
|
||||
// _unit = [_unit, _caller] call FUNC(makeCopyOfBody); //func does not exist
|
||||
};
|
||||
// if (!alive _unit) then {
|
||||
// _unit = [_unit, _caller] call makeCopyOfBody; //func does not exist
|
||||
// };
|
||||
|
||||
private _slotsOpen = false;
|
||||
|
||||
|
@ -28,7 +28,7 @@ class Extended_PostInit_EventHandlers {
|
||||
class Extended_Respawn_EventHandlers {
|
||||
class CAManBase {
|
||||
class ADDON {
|
||||
respawn = QUOTE(call FUNC(XEH_respawn));
|
||||
respawn = QUOTE(call FUNC(handleRespawn));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -24,8 +24,6 @@ if (isServer) then {
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
};
|
||||
|
||||
[QGVAR(stageSpectator), FUNC(stageSpectator)] call CBA_fnc_addEventHandler;
|
||||
|
||||
// A virtual spectator cannot exist without an interface
|
||||
if (hasInterface) then {
|
||||
// Local player (not ACE_Player) must be initalized to check
|
||||
|
@ -21,7 +21,7 @@ class CfgPatches {
|
||||
|
||||
class CfgRespawnTemplates {
|
||||
class ADDON {
|
||||
displayName = CSTRING(DisplayName);
|
||||
displayName = CSTRING(Module_DisplayName);
|
||||
onPlayerKilled = QFUNC(respawnTemplate);
|
||||
onPlayerRespawn = QFUNC(respawnTemplate);
|
||||
respawnTypes[] = {1,2,3,4,5};
|
||||
|
Loading…
Reference in New Issue
Block a user