Skip to content

Commit

Permalink
fix some more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jokoho48 committed Oct 14, 2024
1 parent 7d7eefc commit e9d1eec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions addons/main/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ if (isServer) then {
if (!isNil QGVAR(versionLoadedOnServer) && {GVAR(versionLoadedOnServer) isEqualTo QUOTE(VERSION_STR)}) exitWith {};

private _error = if (isNil QGVAR(versionloadedonServer)) then {
"LAMBS DANGER NOT LOADED ON SERVER!" hintC parsetext format [
"LAMBS DANGER NOT LOADED ON SERVER!" hintC parseText format [
"Lambs Danger is not loaded on server but on Client!"
];
"Lambs Danger is not loaded on server but on Client!"
} else {
"LAMBS DANGER VERSION MISMATCH ERROR!!!!" hintC parsetext format [
"LAMBS DANGER VERSION MISMATCH ERROR!!!!" hintC parseText format [
"Lambs Danger Version mismatch Error.<br/>Client Version: %1<br/>Server Version: %2",
QUOTE(VERSION_str),
GVAR(versionloadedonServer)
Expand Down
2 changes: 1 addition & 1 deletion addons/wp/functions/fnc_taskGarrison.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ private _fnc_addEventHandler = {

// look away from nearest building
if !([_x] call EFUNC(main,isIndoor)) then {
_x doWatch AGLtoASL (_x getPos [250, (nearestBuilding _house) getDir _house]);
_x doWatch AGLToASL (_x getPos [250, (nearestBuilding _house) getDir _house]);
};
};
} else {
Expand Down

0 comments on commit e9d1eec

Please sign in to comment.