0 votes
extends TileMap

var map_position

func _physics_process(delta):
   map_position = world_to_map(ItemsManager.player_position)

This script is quite simpel. but its only a small part of it. The full script is not important. the problem is that its set as a autoload. wich i need for it to work. but then what i think happens is that world to map becomes confused since its on aoutoload and it prints out two map positions. one that behaves like i want it too and one that behaves like a tilemap with default settings. is there a way to make the one with default settings, go away

Godot version 3.3.3
in Engine by (47 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.