mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-14 19:03:21 +00:00
This PR cleans up and fixes a smartfridge code a little bit: Documents variables on the base smartfridge machine Fixed a bug where smartfridges showed incorrect sprite states because they counted component parts (like matters bins) in their calculations. Maximum number of allowed items will now be counted correctly, as they will also not count component parts in their calculations. Replaces old updateUsrDialog() with a modern tgui equivalent, so UI will send updates to all involved parties properly (Smartfridge has autoupdates turned off).