forked from oerkki/voxelands
fix path bug in newly created worlds
This commit is contained in:
parent
6a5fcd77ae
commit
6ee1f8e1ec
|
@ -57,7 +57,7 @@ int world_create(char* name)
|
||||||
if (!path_get("worlds",nbuff,0,buff,2048))
|
if (!path_get("worlds",nbuff,0,buff,2048))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
config_set("world.path",buff);
|
config_set("world.path",nbuff);
|
||||||
config_set("world.name",name);
|
config_set("world.name",name);
|
||||||
config_set("world.version",VERSION_STRING);
|
config_set("world.version",VERSION_STRING);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue