implement Clone
This commit is contained in:
@@ -3,7 +3,7 @@ use crate::game::{RoomType, RoomFormat};
|
||||
use crate::exit::Transition;
|
||||
use std::str::FromStr;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct Room {
|
||||
pub id: u64,
|
||||
pub palette_id: Option<u64>, // optional in very early versions
|
||||
|
||||
Reference in New Issue
Block a user