OC-PsychOS/modules/lib/computer-ext.lua
2017-07-31 09:26:58 +10:00

4 lines
91 B
Lua

function _G.computer.usedMemory()
return computer.totalMemory()-computer.freeMemory()
end