General gun bugfixing.

Assault rifle icons now work properly.
Energy guns no longer spawn cells when they're destroyed.
Fixed a runtime with something trying to call .has_gravity on a null area.
Merge pull request #1952 from ComicIronic/GunIconCellFix

General gun bugfixing.