#!/bin/bash
# LinuxGSM fix_arma3.sh function
# Author: Daniel Gibbs
# Website: https://gameservermanagers.com
# Description: Resolves an issue with ARMA3.

local commandname="FIX"
local commandaction="Fix"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"

# Fixes: 20150 Segmentation fault (core dumped) error.
if [ ! -d "${HOME}/.local/share/Arma 3" ]||[ ! -d "${HOME}/.local/share/Arma 3 - Other Profiles" ]; then
	fixname="20150 Segmentation fault (core dumped)"
	fn_fix_msg_start
	mkdir -p "${HOME}/.local/share/Arma 3 - Other Profiles"
	fn_fix_msg_end
fi