mirror of
https://git.wetfence.xyz/RandyTheSilly/Maan-On-My-Wrist-XL.git
synced 2026-10-26 18:19:56 -04:00
Seed RNG
This commit is contained in:
1 parent
0d7558c23c
commit
d6567aa1e0
1 file changed
+3
@@ -352,6 +352,9 @@ static void click_config_provider(Window *window) {
|
||||
|
||||
// set up the app on launch (don't put app logic in here);
|
||||
static void init() {
|
||||
// seed RNG
|
||||
srand(time(NULL));
|
||||
|
||||
// create main Window element and assign to pointer
|
||||
s_main_window = window_create();
|
||||
|
||||
|
||||
Reference in new issue
Block a user