diff options
author | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-04-25 14:20:17 +0300 |
---|---|---|
committer | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-04-25 14:20:17 +0300 |
commit | 97168aaf30c64c688e0057f28f1f2375b4c40520 (patch) | |
tree | 9f48d9caace322a99e47600a717725079334403a /sources | |
parent | 3febad74e46d3485f079108b2d30bcde1f6ce58b (diff) | |
download | gamejam-slgj-2024-97168aaf30c64c688e0057f28f1f2375b4c40520.tar.gz gamejam-slgj-2024-97168aaf30c64c688e0057f28f1f2375b4c40520.tar.bz2 gamejam-slgj-2024-97168aaf30c64c688e0057f28f1f2375b4c40520.zip |
Fix basic counting on web
Diffstat (limited to 'sources')
-rw-r--r-- | sources/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/main.c b/sources/main.c index 4d5497c..309e8c3 100644 --- a/sources/main.c +++ b/sources/main.c @@ -21,7 +21,7 @@ EM_BOOL main_loop_web(double time, void* userData) { BeginDrawing(); ClearBackground(BLUE); - //s7_call(s7, s7_draw_fn, s7_list(s7, 0)); + s7_call(s7, s7_draw_fn, s7_list(s7, 0)); EndDrawing(); return EM_TRUE; } @@ -49,6 +49,7 @@ int main(int argc, char* argv[]) { SetTargetFPS(60); char filename[] = SCRIPTS_PATH"main.scm"; + s7_load(s7, filename); s7_update_fn = s7_name_to_value(s7, "update"); |