go back a level before getting key
This commit is contained in:
parent
71c90a9270
commit
7e13d71b0b
@ -103,6 +103,7 @@ bool LoadConfig(char[] config_name, int maxlength)
|
|||||||
|
|
||||||
if (StrContains(current_map, current_key, false) != -1)
|
if (StrContains(current_map, current_key, false) != -1)
|
||||||
{
|
{
|
||||||
|
map_configs.GoBack()
|
||||||
map_configs.GetString(current_key, config_name, maxlength);
|
map_configs.GetString(current_key, config_name, maxlength);
|
||||||
PrintToServer("[AUTOCONFIG] Found applicable config: %s", config_name);
|
PrintToServer("[AUTOCONFIG] Found applicable config: %s", config_name);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user