Seed RNG
This commit is contained in:
@@ -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