fix base agent name error in godot 4.1

LawnCable requested to merge lc/fix-baseagent-set-name-error into master

I'm not sure if that is correct, but the error suggested this and vanished after doing it.

tested in godot 4.1, but maybe 4.0.3 also already gave this error, I can not remember right now.

Merge request reports