Make randoms use green lantern.

This commit is contained in:
Tormod G. Hellen 2021-04-03 01:46:09 +02:00 committed by Tormod Gjeitnes Hellen
parent 188096a20f
commit 083a1b054f

View File

@ -97,13 +97,16 @@ impl Entity {
_ => None,
};
let lantern = match rng.gen_range(0..3) {
let lantern = match rng.gen_range(0..4) {
0 => Some(comp::Item::new_from_asset_expect(
"common.items.lantern.black_0",
)),
1 => Some(comp::Item::new_from_asset_expect(
"common.items.lantern.blue_0",
)),
2 => Some(comp::Item::new_from_asset_expect(
"common.items.lantern.green_0",
)),
_ => Some(comp::Item::new_from_asset_expect(
"common.items.lantern.red_0",
)),