mirror of
https://github.com/etlegacy/etlegacy-lua-docs.git
synced 2024-11-29 07:11:55 +00:00
fixed database note with db_mode > 0
This commit is contained in:
parent
1f07cea1ed
commit
0e25f4751f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue