Updated Toy to the beta tag

This commit is contained in:
2026-05-25 19:55:11 +10:00
parent 465530923e
commit 67dda3fa49
3 changed files with 3 additions and 4 deletions
+1 -1
Submodule Toy updated: 750ebd1f99...b0387edeb0
-1
View File
@@ -32,4 +32,3 @@ fn onFrame() {
initScreen(1280, 720, "Oh no, Zombies!"); initScreen(1280, 720, "Oh no, Zombies!");
initLoop(onReady, null, null); initLoop(onReady, null, null);
+2 -2
View File
@@ -218,7 +218,7 @@ int main() {
//process the actors (if possible) //process the actors (if possible)
processActors(&vm); processActors(&vm);
//run the onStep function //run the onFrame function
Toy_runVM(&vm); //no check needed, empty VMs are skipped Toy_runVM(&vm); //no check needed, empty VMs are skipped
//drawing //drawing
@@ -229,7 +229,7 @@ int main() {
EndDrawing(); EndDrawing();
} }
//clear onStep //clear after the final frame
if (onFrame != NULL) { if (onFrame != NULL) {
Toy_resetVM(&vm, false, false); Toy_resetVM(&vm, false, false);
} }