mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
fixed player_return desync
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
local Colours = require 'resources.color_presets'
|
local Colours = require 'resources.color_presets'
|
||||||
local Game = require 'utils.game'
|
local Game = require 'utils.game'
|
||||||
local Util = require 'util'
|
local Util = require 'util'
|
||||||
|
require 'utils.table'
|
||||||
|
|
||||||
local Public = {}
|
local Public = {}
|
||||||
|
|
||||||
@@ -96,7 +97,7 @@ function Public.player_return(value,colour,player)
|
|||||||
returnAsString = tostring(value)
|
returnAsString = tostring(value)
|
||||||
else
|
else
|
||||||
-- value is a table
|
-- value is a table
|
||||||
returnAsString = serpent.block(value)
|
returnAsString = table.inspect(value,{depth=5,indent=' ',newline='\n'})
|
||||||
end
|
end
|
||||||
elseif Public.type_check(value,'function') then
|
elseif Public.type_check(value,'function') then
|
||||||
-- value is a function
|
-- value is a function
|
||||||
|
|||||||
Reference in New Issue
Block a user