diff options
-rw-r--r-- | server/src/game.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/game.rs b/server/src/game.rs index 6ad2316c..178a0ebd 100644 --- a/server/src/game.rs +++ b/server/src/game.rs @@ -361,6 +361,11 @@ impl Game { .players .get_many_mut([&pid, &base_pid]) .ok_or(anyhow!("interacting with yourself. this is impossible"))?; + + if this.character < 0 || other.character < 0 { + bail!("You shall not interact with customers.") + } + interact_effect( &self.data, edge, |