diff options
Diffstat (limited to 'client/map/map.gd')
| -rw-r--r-- | client/map/map.gd | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/client/map/map.gd b/client/map/map.gd index 1155a70c..c027fd4a 100644 --- a/client/map/map.gd +++ b/client/map/map.gd @@ -15,13 +15,15 @@  # You should have received a copy of the GNU Affero General Public License  # along with this program.  If not, see <https://www.gnu.org/licenses/>.  #  +@tool  class_name Map  extends Node3D  var tile_by_pos: Dictionary = {}  func _ready(): -	Multiplayer.connect("update_map", update) +	if !Engine.is_editor_hint(): +		Multiplayer.connect("update_map", update)  func update(pos, tile_name, neighbors):  	var instance: Floor | 
