mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-07 19:52:40 +01:00
Add coment about design choices
This commit is contained in:
parent
725e74d126
commit
1dfb80ea0f
@ -309,6 +309,8 @@ local function updateProxies()
|
||||
--Update shape limit if we have a printer connected.
|
||||
--Probably halfway laggy because it's updating colors now too though,
|
||||
--but necessary if we want things to work right with no unintended consequences.
|
||||
--I would have this update in the component add remove part, but updateProxy is
|
||||
--awesome and tells us if a component is present or not.
|
||||
if hasPrinter then
|
||||
local printer3d = component.get("printer3d")
|
||||
updateShapeLimit(printer3d.getMaxShapeCount())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user