move lua script to lua data

This commit is contained in:
veclavtalica committed 2024-10-07 15:25:40 +03:00
1 parent ae8cc5f50b
commit 36fbc5b43f
2 files changed
+32 -1

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ Scene *ingame_scene(State *state) {
new_scene->cam = (Camera){ .pos = { 32, 0, 1 }, .up = { 0, 1, 0 }, .fov = (float)M_PI_2 };
m_audio(m_set("music/mod65.xm"),
m_audio(m_set(path, "music/mod65.xm"),
m_opt(channel, "soundtrack"),
m_opt(repeat, true));