MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASSaveConfig

Function ASSaveConfig

Source/Scripting/angelscript/asfuncs.cpp:6440–6446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6438}
6439
6440static void ASSaveConfig() {
6441 std::string config_path = GetConfigPath();
6442 if (config.HasChangedSinceLastSave()) {
6443 LOGI << "Saving config at request from angel script" << std::endl;
6444 config.Save(config_path);
6445 }
6446}
6447
6448static bool ASConfigHasKey(std::string key) {
6449 return config.HasKey(key);

Callers

nothing calls this directly

Calls 3

GetConfigPathFunction · 0.85
SaveMethod · 0.45

Tested by

no test coverage detected