Alzter / TuxBuilder

A Godot re-implementation of SuperTux
GNU General Public License v3.0
212 stars 28 forks source link

TuxBuilder crashes when adding a spawnpoint to a level #27

Closed tobbi closed 5 years ago

tobbi commented 5 years ago

Steps to reproduce:

  1. Start TuxBuilder
  2. Go into edit mode by right-clicking
  3. Go to Objects > Misc > Spawnpoint.
  4. Click into the sector.

Results: Tux Builder crashes.

            get_tree().current_scene.get_node(str("Level/", object_dragged)).position = $SelectedTile.position

Expected result: Spawnpoint gets added to the game.

Alzter commented 5 years ago

Fixed