diff --git a/tutorials/best_practices/godot_interfaces.rst b/tutorials/best_practices/godot_interfaces.rst index eb082e112f91..ca3a8a7b6670 100644 --- a/tutorials/best_practices/godot_interfaces.rst +++ b/tutorials/best_practices/godot_interfaces.rst @@ -108,11 +108,11 @@ access. }; // Warn users if the value hasn't been set. - public String _GetConfigurationWarnings() + public String[] _GetConfigurationWarnings() { if (EnemyScn == null) - return "Must initialize property 'EnemyScn'."; - return ""; + return { "Must initialize property 'EnemyScn'." }; + return { "" }; } }