summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-02 09:37:38 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-02 09:37:38 +0100
commit8c211e64ec93631f448e7fb47ae7533c711c5624 (patch)
tree833193bbaa7c62f81d80297ddff09399f28b854c
parentc8a61b67e48df3870dc958f580d309223034bc2f (diff)
parentff5aecbc38bc047bb84eeadc1297d3e2017df1f7 (diff)
Merge pull request #72562 from 0xafbf/patch-1
Fix bad variable name in TileMap documentation
-rw-r--r--doc/classes/TileMap.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml
index c387bd435b..c116939bd8 100644
--- a/doc/classes/TileMap.xml
+++ b/doc/classes/TileMap.xml
@@ -205,7 +205,7 @@
<param index="2" name="atlas_coords" type="Vector2i" default="Vector2i(-1, -1)" />
<param index="3" name="alternative_tile" type="int" default="-1" />
<description>
- Returns a [Vector2i] array with the positions of all cells containing a tile in the given layer. Tiles may be filtered according to their source ([param source_id]), their atlas coordinates ([param atlas_coords]) or alternative id ([param source_id]).
+ Returns a [Vector2i] array with the positions of all cells containing a tile in the given layer. Tiles may be filtered according to their source ([param source_id]), their atlas coordinates ([param atlas_coords]) or alternative id ([param alternative_tile]).
If a parameter has it's value set to the default one, this parameter is not used to filter a cell. Thus, if all parameters have their respective default value, this method returns the same result as [method get_used_cells].
A cell is considered empty if its source identifier equals -1, its atlas coordinates identifiers is [code]Vector2(-1, -1)[/code] and its alternative identifier is -1.
</description>