diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-12-07 22:00:54 -0200 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-12-07 23:51:49 -0200 |
commit | 33ca76e15dcb513a3d7d1dd25388c5f9c8e822f1 (patch) | |
tree | 26c1c1edaff6967f3c5dde3fc87c48ac12bfb99c /scene/resources | |
parent | 41d1dba35fc851258d5aabad819d09f6a43e324c (diff) |
Fix AutoTile z-index not persisting correctly
Diffstat (limited to 'scene/resources')
-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 88dbc67e01..c2c2c0ff32 100644 --- a/scene/resources/tile_set.cpp +++ b/scene/resources/tile_set.cpp @@ -137,7 +137,7 @@ bool TileSet::_set(const StringName &p_name, const Variant &p_value) { int z_index; while (p.size() > 0) { val = p[0]; - if (val.z > 1) { + if (val.z != 0) { v.x = val.x; v.y = val.y; z_index = (int)val.z; |