You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check if a custom dungeon str has been given via cli args
100
+
98
101
// let dungeon_str = "080809010400100211121300101415161304171418161300191403161304191905160600919999113099910991099909090099999919990929999999099999999009";
let rng_seed:u64 = rand::random();// using a second seed for rng enables the same layout to have randomized rooms. Maybe should be included in the dungeon seed string?
110
113
// let rng_seed: u64 = 12946977352813673410;
111
-
114
+
112
115
println!("Rng Seed: {}", rng_seed);
113
116
SeededRng::set_seed(rng_seed);
114
-
117
+
115
118
let dungeon = Dungeon::from_string(dungeon_str,&room_data_storage)?;
116
119
letmut server = Server::initialize_with_dungeon(network_tx, dungeon);
0 commit comments