Skip to content

Commit

Permalink
Merge commit 'ef0dcfdfacee7f43e07c16c2fab792d23eb7f4fb'
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenMarcus committed Jun 10, 2021
2 parents 5417385 + ef0dcfd commit c8f954e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Data/Scripts/Library/deepcore/crossplot/crossplot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ end
---@param listener_function function
---@param optional_self table
function crossplot:subscribe(event_name, listener_function, optional_self)
if self.__instance then
if not self.__instance then
DebugMessage("crossplot has not been initialized in this plot")
return
end
Expand All @@ -85,7 +85,7 @@ end
---@param listener_function function
---@param optional_self table
function crossplot:unsubscribe(event_name, listener_function, optional_self)
if self.__instance then
if not self.__instance then
DebugMessage("crossplot has not been initialized in this plot")
return
end
Expand All @@ -94,7 +94,7 @@ function crossplot:unsubscribe(event_name, listener_function, optional_self)
end

function crossplot:publish(event_name, ...)
if self.__instance then
if not self.__instance then
DebugMessage("crossplot has not been initialized in this plot")
return
end
Expand All @@ -103,7 +103,7 @@ function crossplot:publish(event_name, ...)
end

function crossplot:update()
if self.__instance then
if not self.__instance then
DebugMessage("crossplot has not been initialized in this plot")
return
end
Expand Down

0 comments on commit c8f954e

Please sign in to comment.