diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-02-13 16:42:49 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-05-20 23:07:57 +0200 |
commit | b1859510ab0a3381e0a5bec3d896032fc5019147 (patch) | |
tree | 8f7d3e9b6d31b645db48de3d4e02cc3a485588da /scene | |
parent | 78d85de13be383b24252a38e42bec5be81721ea7 (diff) |
Change behavior of String.right
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/tile_set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp index 3cc9627af3..3f6f5bb5fe 100644 --- a/scene/resources/tile_set.cpp +++ b/scene/resources/tile_set.cpp @@ -835,7 +835,7 @@ bool TileSet::_set(const StringName &p_name, const Variant &p_value) { } else if (what == "tile_mode") { ctd->tile_mode = p_value; } else if (what.left(9) == "autotile") { - what = what.right(9); + what = what.substr(9); if (what == "bitmask_mode") { ctd->autotile_bitmask_mode = p_value; } else if (what == "icon_coordinate") { |