hot fix
This commit is contained in:
parent
87b6525577
commit
56327d3913
@ -60,6 +60,8 @@ func _on_interacted():
|
|||||||
|
|
||||||
|
|
||||||
func _debug_check_player_pos():
|
func _debug_check_player_pos():
|
||||||
|
if not Engine.is_editor_hint():
|
||||||
|
return
|
||||||
var ground = EditorInterface.get_edited_scene_root().get_node("Ground") as Ground2D
|
var ground = EditorInterface.get_edited_scene_root().get_node("Ground") as Ground2D
|
||||||
if use_x_only:
|
if use_x_only:
|
||||||
ground.replace_player_to_portal = true
|
ground.replace_player_to_portal = true
|
||||||
|
Loading…
Reference in New Issue
Block a user