From: Ian Jackson Date: Mon, 27 Jul 2020 00:21:23 +0000 (+0100) Subject: temporarily pub X-Git-Tag: otter-0.2.0~1228 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=82664c922a020ed28aa9b73e8b1b6ef9934f8c50;p=otter.git temporarily pub --- diff --git a/src/global.rs b/src/global.rs index 1dadf397..7aa5e0d4 100644 --- a/src/global.rs +++ b/src/global.rs @@ -268,7 +268,7 @@ impl InstanceGuard<'_> { } #[throws(OE)] - fn save_game_now(&mut self) { + pub fn save_game_now(&mut self) { self.save_something("g-", |s,w| { rmp_serde::encode::write_named(w, &s.c.g.gs) })?;