OC-PsychOS/modules/lib/computer-ext.lua

4 lines
91 B
Lua
Raw Normal View History

2017-07-31 09:26:58 +10:00
function _G.computer.usedMemory()
return computer.totalMemory()-computer.freeMemory()
end