summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2026-01-27 20:10:20 -0600
committerAaditya Dhruv <[email protected]>2026-01-27 20:10:20 -0600
commit6aabb8b3ca8284ac2d27af36459393321742d8f5 (patch)
tree1ad4ca7a72f68e919a4849e744e1a69f7140b7bd /src
parente6025e43ccce1a75223b26530a87cd3d927ac0bd (diff)
seed on time
Diffstat (limited to 'src')
-rw-r--r--src/junkcraft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/junkcraft.c b/src/junkcraft.c
index e96b942..6a12a40 100644
--- a/src/junkcraft.c
+++ b/src/junkcraft.c
@@ -1,6 +1,8 @@
#include "engine.h"
+#include <time.h>
int main() {
+ srand(time(NULL));
struct engine engine = { 0 };
if (engine_init(&engine) != 0) {
return -1;