summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lua/avatar.lua4
-rw-r--r--scripts/lua/demo.lua8
2 files changed, 4 insertions, 8 deletions
diff --git a/scripts/lua/avatar.lua b/scripts/lua/avatar.lua
index 7c419a740c..159014fa04 100644
--- a/scripts/lua/avatar.lua
+++ b/scripts/lua/avatar.lua
@@ -1,4 +1,3 @@
-function call_once_func()
run_ui_command("World.EnvSettings", "midnight")
sleep(1)
run_ui_command("World.EnvSettings", "noon")
@@ -10,5 +9,4 @@ function call_once_func()
sleep(5)
play_animation("Elephant_Fly");
sleep(5)
- play_animation("Elephant_Fly",1);
-end \ No newline at end of file
+ play_animation("Elephant_Fly",1); \ No newline at end of file
diff --git a/scripts/lua/demo.lua b/scripts/lua/demo.lua
index 3442c18b0d..90eaf667bb 100644
--- a/scripts/lua/demo.lua
+++ b/scripts/lua/demo.lua
@@ -139,9 +139,7 @@ function demo_ui()
end
-function call_once_func()
+demo_environment()
+demo_avatar()
+demo_ui()
- demo_environment()
- demo_avatar()
- demo_ui()
-end