LLA-Gaming / SS13

Please put all your changes that are not fixes on the "Development" branch -
http://www.llagaming.net
GNU Affero General Public License v3.0
14 stars 37 forks source link

Fixes Energy based guns using charge without being fired #272

Closed NullNeska closed 9 years ago

NullNeska commented 9 years ago

code taken from tgstation's fix: The new procedure goes as follow : the click code goes on until its end (afterattack), if there's enough energy in the gun cell, a selected mode shot is chambered (laser, electrode, ...), the attack/firing code does its things, at the end of it, we check if the shot was spent (i.e the actual "bullet" was send). If so, we draw on the gun cell the correct amount of power. If not, we just discard the chambered shot.

thedraccx commented 9 years ago

Those comments...god pls remove

NullNeska commented 9 years ago

:8ball:

LLADonZombie commented 9 years ago

patch in asap