From 35938c2e18e51d2abaa5a3baa7f6223c8c780104 Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Wed, 19 Jun 2024 16:35:53 +0200 Subject: [PATCH] [#90] fix(VirtualObject): also set `DEFAULT_VISUAL` if `has_visual_object==false` --- src/vobs/VirtualObject.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vobs/VirtualObject.cc b/src/vobs/VirtualObject.cc index f189d598..a6e71238 100644 --- a/src/vobs/VirtualObject.cc +++ b/src/vobs/VirtualObject.cc @@ -172,6 +172,8 @@ namespace zenkit { } else { this->visual = DEFAULT_VISUAL; } + } else { + this->visual = DEFAULT_VISUAL; } if (has_ai_object) {