mirror of
https://git.wetfence.xyz/RandyTheSilly/Maan-On-My-Wrist-XL.git
synced 2026-10-27 02:19:57 -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);
|
// set up the app on launch (don't put app logic in here);
|
||||||
static void init() {
|
static void init() {
|
||||||
|
// seed RNG
|
||||||
|
srand(time(NULL));
|
||||||
|
|
||||||
// create main Window element and assign to pointer
|
// create main Window element and assign to pointer
|
||||||
s_main_window = window_create();
|
s_main_window = window_create();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user