up
This commit is contained in:
parent
2b714b646b
commit
1818cda54f
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
use std::collections::HashMap;
|
||||
use std::convert::*;
|
||||
use std::fs::File;
|
||||
use std::io::{BufRead, BufReader};
|
||||
|
||||
|
@ -47,7 +48,7 @@ impl NanoFactory {
|
|||
if let Some(count) = self.storage.get_mut(resource.into()) {
|
||||
*count -= 1
|
||||
}
|
||||
let pipeline = self.pipeline.as_mut_ref();
|
||||
let pipeline = self.pipeline.as_mut();
|
||||
let required = self
|
||||
.pipeline
|
||||
.get(resource.into())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue