From b56d910d33050689c1cf59b6c0b59bdea86df5b1 Mon Sep 17 00:00:00 2001 From: Robert Machmer Date: Sun, 24 Jan 2016 00:27:34 +0100 Subject: [PATCH] Refactor return statement --- Graphoon/Graph.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphoon/Graph.lua b/Graphoon/Graph.lua index c9788e7..71289bf 100644 --- a/Graphoon/Graph.lua +++ b/Graphoon/Graph.lua @@ -220,7 +220,7 @@ function Graph.new() -- Returns the x and y coordinates of the graph's center. -- function self:getCenter() - return ( ( maxX - minX ) * 0.5 ) + minX, ( ( maxY - minY ) * 0.5 ) + minY; + return ( maxX - minX ) * 0.5 + minX, ( maxY - minY ) * 0.5 + minY; end ---