fixed database note with db_mode > 0

This commit is contained in:
Remy Marquis 2018-12-27 19:21:47 +01:00
parent 1f07cea1ed
commit 0e25f4751f

View file

@ -13,7 +13,7 @@ If desired, Lua scripts can also connect to the engine memory database by the fo
--]] --]]
con = assert (env:connect( "file::memory:?cache=shared")) con = assert (env:connect( "file::memory:?cache=shared"))
.. Note:: The database is only active when the `db_mode <https://dev.etlegacy.com/projects/etlegacy/wiki/List_of_Cvars#db_-Additional>`_ cvar is set to **1**. .. Note:: The database is only active when the `db_mode <https://dev.etlegacy.com/projects/etlegacy/wiki/List_of_Cvars#db_-Additional>`_ cvar is set.
To save this in memory database to disk use the **saveDB** console command. See also the `db_url <https://dev.etlegacy.com/projects/etlegacy/wiki/List_of_Cvars#db_-Additional>`_ cvar to specify the database path. To save this in memory database to disk use the **saveDB** console command. See also the `db_url <https://dev.etlegacy.com/projects/etlegacy/wiki/List_of_Cvars#db_-Additional>`_ cvar to specify the database path.