aboutsummaryrefslogtreecommitdiff
path: root/clientmods/preview
diff options
context:
space:
mode:
Diffstat (limited to 'clientmods/preview')
-rw-r--r--clientmods/preview/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientmods/preview/init.lua b/clientmods/preview/init.lua
index df07f8c3f..4b31fa323 100644
--- a/clientmods/preview/init.lua
+++ b/clientmods/preview/init.lua
@@ -62,7 +62,7 @@ local function preview_minimap()
minimap:set_mode(4)
minimap:show()
minimap:set_pos({x=5, y=50, z=5})
- minimap:toggle_shape()
+ minimap:set_shape(math.random(0, 1))
print("[PREVIEW] Minimap: mode => " .. dump(minimap:get_mode()) ..
" position => " .. dump(minimap:get_pos()) ..