🐛 fixed never more than 10 fields bug
This commit is contained in:
@@ -51,11 +51,9 @@ public partial class FieldService : Node
|
||||
{
|
||||
if (field.fields.TryGetValue(fieldPosition, out FieldBehaviour2D? fieldInstance))
|
||||
{
|
||||
GD.Print("Getting field...");
|
||||
return fieldInstance;
|
||||
}
|
||||
}
|
||||
GD.Print($"No field found for key: {key} and position: {fieldPosition} ");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user