server/addons/db/functions/fnc_verifyDB.sqf
Jacob Schmidt bec0adcdbf feat: Update build environment and add XEH PREP
This commit includes the following changes:

-   Updates the build environment in the GitHub Actions workflow to use `ubuntu-latest` instead of `ubuntu-22.04`.
-   Adds `playerGroup2Server` to the XEH_PREP.hpp file.
-   Updates the picture path in CfgMods.hpp to include the file extension.
2025-03-28 09:46:08 -05:00

22 lines
389 B
Plaintext

#include "..\script_component.hpp"
/*
* Function: forge_server_db_fnc_verifyDB
* Author: J. Schmidt
*
* Description:
* Verifies the database is initialized and returns the database object
*
* Arguments:
* None
*
* Return Value:
* Database object <HASHMAP>
*/
private _store = GETMVAR(GVAR(store),nil);
if (isNil "_store") then {
_store = [] call FUNC(initDB);
};
_store