fix normal build due to cfg error
All checks were successful
CI / Saltfish [custom_pieces] (push) Successful in -2m46s
CI / Saltfish (push) Successful in -2m42s

This commit is contained in:
fabolous005 2024-04-05 04:39:41 +02:00
parent 791749b8d7
commit 694616f2cf
2 changed files with 1 additions and 0 deletions

View File

View File

@ -64,6 +64,7 @@ impl Config {
} }
impl Config { impl Config {
#[cfg(feature = "custom_pieces")]
pub fn get_pieces(&self) -> &Option<HashMap<String, CustomPiece>> { pub fn get_pieces(&self) -> &Option<HashMap<String, CustomPiece>> {
&self.pieces &self.pieces
} }