mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Changed Datastore Output For Mark
This commit is contained in:
@@ -395,7 +395,7 @@ function Datastore:write_action(action, key, value)
|
|||||||
if value ~= nil then
|
if value ~= nil then
|
||||||
data[4] = type(value) == 'table' and '"'..game.table_to_json(value)..'"' or '"'..tostring(value)..'"'
|
data[4] = type(value) == 'table' and '"'..game.table_to_json(value)..'"' or '"'..tostring(value)..'"'
|
||||||
end
|
end
|
||||||
game.write_file('datastore.pipe', table.concat(data, ' ')..'\n', true, 0)
|
game.write_file('datastore.out', table.concat(data, ' ')..'\n', true, 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
----- Datastore Local
|
----- Datastore Local
|
||||||
@@ -827,4 +827,4 @@ end)
|
|||||||
Datastore.on_update = event_factory('on_update')
|
Datastore.on_update = event_factory('on_update')
|
||||||
|
|
||||||
----- Module Return
|
----- Module Return
|
||||||
return DatastoreManager
|
return DatastoreManager
|
||||||
|
|||||||
Reference in New Issue
Block a user