Skip to content

Commit

Permalink
Fixed a repeat variable declaration in MessageDispatcher. Moved it to…
Browse files Browse the repository at this point in the history
… references.
  • Loading branch information
willnationsdev committed May 31, 2019
1 parent 16e981e commit 4743715
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# brief_description: A message handler for non predefined signals, if you want to use this by extending it on a Node please use MessageDispatcherWrapper.

extends Reference

class_name MessageDispatcher

##### PROPERTIES #####
Expand Down Expand Up @@ -43,7 +42,6 @@ func disconnect_all_message() -> void:
# message_data: extra data that can be used by the handler or where the handler can store results.
# return: returns if it was passed to any handler or not.
func emit_message(message_type: String, message_data: Dictionary) -> bool:
var invalid
var handlers = _message_handlers[message_type]
if handlers != null:
var invalid = []
Expand Down

0 comments on commit 4743715

Please sign in to comment.