Update lib_machines.dm

Made a small tweak to the Library Machines file in hopes to make it work again.. changed code between lines 359 and 383

This needs testing still as I was unable to connect to the SQL server locally but the live game is able to.
Merge pull request #494 from LazureusFalcone/patch-1

Update lib_machines.dm