From: Bernard Blackham Date: Wed, 23 Jun 2004 15:50:35 +0000 (+0000) Subject: Dont' show door events unless in standalone mode X-Git-Tag: ROMW~9 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=bb9aed6aa97df5f95637806035f303708e5071a8;p=uccvend-snackrom.git Dont' show door events unless in standalone mode --- diff --git a/ROM2/main_basic.c b/ROM2/main_basic.c index 27d6e0b..4ed1110 100644 --- a/ROM2/main_basic.c +++ b/ROM2/main_basic.c @@ -441,7 +441,8 @@ int main() { last_door_open = door_open(); send_door_msg(last_door_open); chime_start(); - set_msg(last_door_open?"DOOR OPEN ":"DOOR CLOSE"); + if (is_standalone()) + set_msg(last_door_open?"DOOR OPEN ":"DOOR CLOSE"); } if (last_standalone != is_standalone()) {