From 8c3e2aaf3c82321d47c5a4a409f48a594be07b97 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 18 May 2017 11:58:58 +0200 Subject: Assume succesful Activate() call in ControlDigDouble-override if the contents changed --- System.c4g/DTSelectionContext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/System.c4g/DTSelectionContext.c b/System.c4g/DTSelectionContext.c index 1f4ebf0..d6d6369 100644 --- a/System.c4g/DTSelectionContext.c +++ b/System.c4g/DTSelectionContext.c @@ -390,7 +390,8 @@ func ControlDigDouble() { if(GetProcedure() == "WALK" || GetProcedure() == "DIG" || GetProcedure() == "SWIM") { - if(Contents() && Contents()->~Activate(this)) + var content = Contents(); + if(content && (content->~Activate(this) || Contents() != content)) // assume succesful interaction if the contents changed { return true; } -- cgit v1.2.3-54-g00ecf