Skip to content

Commit

Permalink
Мелко фикс перевода пневма пушки (TauCetiStation#12418)
Browse files Browse the repository at this point in the history
  • Loading branch information
AzzyDreemurr13 authored Nov 13, 2023
1 parent 077713c commit ab3e83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/guns/projectile/pneumatic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
var/speed = min(PNEUMATIC_SPEED_CAP, ((fire_pressure*tank.volume)/object.w_class)/PNEUMATIC_SPEED_DIVISOR) //projectile speed.

playsound(src, 'sound/weapons/guns/gunshot_pneumaticgun.ogg', VOL_EFFECTS_MASTER, null, FALSE, null, -2)
user.visible_message("<span class='danger'>[user] выстреливает [object] по [target] из пневматической пушки!</span>","<span class='danger'>Вы стреляете [object] по [target] из пневматической пушки!</span>")
user.visible_message("<span class='danger'>[user] fires [src] and launches [object] at [target]!</span>","<span class='danger'>You fire [src] and launch [object] at [target]!</span>")

remove_from_storage(object,user.loc)
object.throw_at(target, speed + 1, speed, user)
Expand Down

0 comments on commit ab3e83f

Please sign in to comment.