portals 1
This commit is contained in:
@@ -22,6 +22,7 @@ fn make_board(px: i32, py: i32, portals: Vec<PortalDef>) -> Board {
|
||||
portals,
|
||||
board_script_name: None,
|
||||
load_errors: Vec::new(),
|
||||
registry: HashMap::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ fn board_with_object(object_script: Option<&str>, scripts: &[(&str, &str)]) -> (
|
||||
portals: Vec::new(),
|
||||
board_script_name: None,
|
||||
load_errors: Vec::new(),
|
||||
registry: HashMap::new(),
|
||||
};
|
||||
(board, scripts_from(scripts))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user