X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/cafdb587ee6e195e5a917cea7570c2ea7e22a003..6dd05bd84faebf6d7e9e36a0f1dd040ef9fb24a3:/Model/include/exclusa.h?ds=inline diff --git a/Model/include/exclusa.h b/Model/include/exclusa.h index 818ccb4..b4ea3e2 100644 --- a/Model/include/exclusa.h +++ b/Model/include/exclusa.h @@ -20,7 +20,7 @@ public: virtual void simulate(); virtual void recieve_msg(int msg, IConector *who, void *data); - virtual bool get_output() { return is_open; } + virtual bool get_output() { return is_open = input->get_output(); } void open() { is_open = true; } void close() { is_open = false; }