From ea04ca6e6ae0e385a4db71a01973df5452f6a55b Mon Sep 17 00:00:00 2001 From: gambas Date: Mon, 30 Aug 2021 02:05:38 +0200 Subject: [PATCH] Rollback the previous commit, it breaks too many things. [INTERPRETER] * BUG: Rollback the previous commit, it breaks too many things. --- main/gbx/gbx_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/gbx/gbx_object.c b/main/gbx/gbx_object.c index 726336077..93aa9fac2 100644 --- a/main/gbx/gbx_object.c +++ b/main/gbx/gbx_object.c @@ -510,7 +510,7 @@ OBJECT *OBJECT_active_parent(void *object) { OBJECT *parent = OBJECT_parent(object); - if (!parent || OBJECT_is_locked((OBJECT *)object)) // || OBJECT_is_locked(parent)) + if (!parent || OBJECT_is_locked((OBJECT *)object) || OBJECT_is_locked(parent)) return NULL; return parent;