feat: add app.save_world() function and update documentation

This commit is contained in:
MihailRis
2024-12-25 15:15:11 +03:00
parent 96577ee041
commit ed7dc1f901
8 changed files with 48 additions and 7 deletions
+6
View File
@@ -83,6 +83,12 @@ app.reopen_world()
Reopens the world.
```lua
app.save_world()
```
Saves the world.
```lua
app.close_world(
-- save the world before closing
+6
View File
@@ -83,6 +83,12 @@ app.reopen_world()
Переоткрывает мир.
```lua
app.save_world()
```
Сохраняет мир.
```lua
app.close_world(
-- сохранить мир перед закрытием