Fix Fuel's field visibility, add it to the cutter
*Now* the fuel change events will work (and compile).
This commit is contained in:
@@ -33,7 +33,7 @@ pub mod consumables {
|
||||
use bevy::prelude::*;
|
||||
|
||||
#[derive(Component)]
|
||||
pub struct Fuel(u32);
|
||||
pub struct Fuel(pub u32);
|
||||
|
||||
#[derive(Event)]
|
||||
pub struct FuelChanged;
|
||||
|
||||
Reference in New Issue
Block a user