From 09057a2bcf31a8ec54da318a90879657503a5681 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 3 Feb 2018 19:02:21 -0500 Subject: [PATCH] Make unmerge always in the same location --- scripts/heroes/3.gd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/heroes/3.gd b/scripts/heroes/3.gd index ec87b42..0978e3e 100644 --- a/scripts/heroes/3.gd +++ b/scripts/heroes/3.gd @@ -83,6 +83,9 @@ sync func merge(node_name): sync func unmerge(): if merged: - set_boosting(false) set_boosted(merged, false) + set_boosting(false) + var pos = merged.get_translation() + pos.z += 1 + set_translation(pos) merged = null