1
0
forked from 0ad/0ad
Replace function removed in 281bb0b2ec reported by @Stan

Differential revision: D4846
Reviewed by: @Stan
This was SVN commit r27307.
This commit is contained in:
Angen 2022-12-27 11:13:27 +00:00
parent 3814c153df
commit 402e90b5ab

View File

@ -81,8 +81,7 @@ class CampaignRun
setCurrent() setCurrent()
{ {
Engine.ConfigDB_CreateValue("user", "currentcampaign", this.filename); Engine.ConfigDB_CreateAndSaveValue("user", "currentcampaign", this.filename);
Engine.ConfigDB_WriteValueToFile("user", "currentcampaign", this.filename, "config/user.cfg");
g_CurrentCampaignRun = { g_CurrentCampaignRun = {
"ID": this.filename, "ID": this.filename,
"run": this "run": this