update doc/*/scripting/builtins/libapp.md

This commit is contained in:
MihailRis 2026-11-01 17:33:51 +03:00
parent 5390541334
commit e196086ec3
2 changed files with 4 additions and 2 deletions

View file

@ -119,7 +119,8 @@ app.close_world(
```lua
-- Returns the major and minor versions of the engine.
app.get_version() -> int, int
-- If a patch number is available, it also returns it.
app.get_version() -> int, int, int | nil
-- Returns the value of a setting.
-- Throws an exception if the setting does not exist.

View file

@ -116,7 +116,8 @@ app.close_world(
```lua
-- Возвращает мажорную и минорную версии движка.
app.get_version() -> int, int
-- При наличии номера патча возвращает и его.
app.get_version() -> int, int, int | nil
-- Возвращает значение настройки.
-- Бросает исключение, если настройки не существует.