Fix rand
This commit is contained in:
parent
b52f6689fe
commit
f5a687acb1
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Bangalore City Name Generator</title>
|
||||
<title>Bangalore Area Name Generator</title>
|
||||
<style>
|
||||
html,
|
||||
body,
|
||||
|
@ -1,8 +1,10 @@
|
||||
use macroquad::prelude::*;
|
||||
use macroquad::rand;
|
||||
use miniquad::date;
|
||||
|
||||
#[macroquad::main("MyGame")]
|
||||
async fn main() {
|
||||
rand::srand(date::now() as u64);
|
||||
let mut rand_name = String::from("Random bangalore area names");
|
||||
let mut last_update = 0.0;
|
||||
loop {
|
||||
|
Loading…
x
Reference in New Issue
Block a user