From: Ian Jackson Date: Mon, 23 Nov 2020 20:24:29 +0000 (+0000) Subject: a todo list item X-Git-Tag: otter-0.2.0~374 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=97ccf3857f2db6b8232cd24f9fb6235804402dde;p=otter.git a todo list item Signed-off-by: Ian Jackson --- diff --git a/src/global.rs b/src/global.rs index ce1ba794..935c458b 100644 --- a/src/global.rs +++ b/src/global.rs @@ -461,7 +461,8 @@ impl<'ig> InstanceGuard<'ig> { /// proves the caller has a log entry. #[throws(MgmtError)] pub fn player_new(&mut self, gnew: GPlayerState, inew: IPlayerState, - logentry: LogEntry) -> (PlayerId, LogEntry) { + logentry: LogEntry) + -> (PlayerId, /* todo some game update,*/ LogEntry) { // saving is fallible, but we can't attempt to save unless // we have a thing to serialise with the player in it self.check_new_nick(&gnew.nick)?;