Update shared.lua

Minor changes. Added disabled bug fix code for crotch-guns
Merge pull request #1 from BadgerCode/patch-1

badger