summaryrefslogtreecommitdiffstats
path: root/System.c4g
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2017-05-18 11:58:58 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2017-05-18 11:58:58 +0200
commit8c3e2aaf3c82321d47c5a4a409f48a594be07b97 (patch)
tree33f6e3fcacf01982df6c2b998e5cc599de7e1971 /System.c4g
parent19929a9bf3dcf209105962a4eec029f3b61cfb6e (diff)
downloadObjectsAppend-8c3e2aaf3c82321d47c5a4a409f48a594be07b97.tar.gz
ObjectsAppend-8c3e2aaf3c82321d47c5a4a409f48a594be07b97.zip
Assume succesful Activate() call in ControlDigDouble-override if the contents changed
Diffstat (limited to 'System.c4g')
-rw-r--r--System.c4g/DTSelectionContext.c3
1 files changed, 2 insertions, 1 deletions
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;
}