My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/games/rstnode/rst-server/src/loader.rs

7 lines
208 B

use rst_core::loader::MapLoader;
use std::path::Path;
/// Load a set of maps at launch
pub(crate) fn load<'p, P: Into<&'p Path>>(path: P) -> MapLoader {
MapLoader::load_path(path.into().to_path_buf())
}