fixing tests
This commit is contained in:
@@ -26,11 +26,11 @@ pub struct Portal {
|
||||
/// Name of the arrival portal on the target board.
|
||||
pub target_name: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
glyph: Option<Glyph>
|
||||
pub glyph: Option<Glyph>
|
||||
}
|
||||
|
||||
impl Portal {
|
||||
pub fn location(&self) -> (usize, usize) {
|
||||
(self.x, self.y)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user