diff options
| author | Aaditya Dhruv <[email protected]> | 2026-01-27 20:10:20 -0600 |
|---|---|---|
| committer | Aaditya Dhruv <[email protected]> | 2026-01-27 20:10:20 -0600 |
| commit | 6aabb8b3ca8284ac2d27af36459393321742d8f5 (patch) | |
| tree | 1ad4ca7a72f68e919a4849e744e1a69f7140b7bd /src | |
| parent | e6025e43ccce1a75223b26530a87cd3d927ac0bd (diff) | |
seed on time
Diffstat (limited to 'src')
| -rw-r--r-- | src/junkcraft.c | 2 |
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; |
