#34: Fixed bug in Character Select when clicking or scrolling
Build / build (push) Successful in 1m6s
Build / build (push) Successful in 1m6s
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ func set_character_name(character_name: String) -> void:
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if self.visible == true && Settings.character_select_open == true:
|
||||
if event is InputEventMouseButton && event.is_pressed():
|
||||
if event is InputEventMouseButton && event.is_pressed() && event.get_button_index(MOUSE_BUTTON_LEFT):
|
||||
var evLocal: InputEvent = make_input_local(event)
|
||||
if Rect2(Vector2(0, 0), panel.size).has_point(evLocal.position):
|
||||
print(character_name_label.text)
|
||||
|
||||
Reference in New Issue
Block a user