Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
Fortify - Fix legacy module support (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Jul 1, 2020
1 parent 6857eec commit 718e6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_setupModule.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ _side = switch (_side) do {
};

private _preset = _logic getVariable ["Preset", "small"];
if IS_NUMBER(preset) then { // Legacy support
if IS_NUMBER(_preset) then { // Legacy support
_preset = switch (_preset) do {
case 1: {"small"};
case 2: {"medium"};
Expand Down

0 comments on commit 718e6ce

Please sign in to comment.