Update AddObjectToGroupNode.hx

master
t3du 2022-01-06 09:32:38 -03:00 committed by GitHub
parent b423cfabed
commit cda516a9e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class AddObjectToGroupNode extends LogicNode {
var groupName: String = inputs[1].get();
var object: Object = inputs[2].get();
iron.Scene.active.addObjectToGroup(groupName, object);
iron.Scene.active.getGroup(groupName).push(object);
runOutput(0);