Browse Source

add todo for cheating

pbs
andy 4 years ago
parent
commit
9b05e60ca6
  1. 1
      src/ship/items/manager.rs

1
src/ship/items/manager.rs

@ -499,6 +499,7 @@ impl ItemManager {
let consumed_item = used_item.consume(amount)?;
if let ItemDetail::TechniqueDisk(tech_disk) = consumed_item.item() {
// TODO: validate tech level in packet is in bounds [1..30]
character.techs.set_tech(tech_disk.tech, TechLevel(tech_disk.level as u8));
entity_gateway.save_character(character).await?;
};

Loading…
Cancel
Save