aboutsummaryrefslogtreecommitdiff
path: root/client/map/map.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-06-23 22:52:45 +0200
committernokoe <nokoe@mailbox.org>2024-06-23 23:07:10 +0200
commitf9a21bc9772d761db1c02a6ed81e117886b523b2 (patch)
tree8653b85999b48354fe39505268b7f704fade9626 /client/map/map.gd
parenta81020eb81a0fa44f6641f47bd1eeda786cc8f71 (diff)
downloadhurrycurry-f9a21bc9772d761db1c02a6ed81e117886b523b2.tar
hurrycurry-f9a21bc9772d761db1c02a6ed81e117886b523b2.tar.bz2
hurrycurry-f9a21bc9772d761db1c02a6ed81e117886b523b2.tar.zst
make game playable again (somewhat)
Diffstat (limited to 'client/map/map.gd')
-rw-r--r--client/map/map.gd4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/map/map.gd b/client/map/map.gd
index c027fd4a..1155a70c 100644
--- a/client/map/map.gd
+++ b/client/map/map.gd
@@ -15,15 +15,13 @@
# 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():
- if !Engine.is_editor_hint():
- Multiplayer.connect("update_map", update)
+ Multiplayer.connect("update_map", update)
func update(pos, tile_name, neighbors):
var instance: Floor