mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Merge remote-tracking branch 'upstream/dev-freeze' into dev
Conflicts: code/_helpers/unsorted.dm code/game/objects/items/weapons/RCD.dm code/game/objects/items/weapons/grenades/emgrenade.dm code/modules/clothing/spacesuits/rig/rig_attackby.dm
This commit is contained in:
@@ -79,6 +79,13 @@
|
||||
return
|
||||
..()
|
||||
|
||||
//cargo trains are open topped, so there is a chance the projectile will hit the mob ridding the train instead
|
||||
/obj/vehicle/train/cargo/bullet_act(var/obj/item/projectile/Proj)
|
||||
if(buckled_mob && prob(70))
|
||||
buckled_mob.bullet_act(Proj)
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/vehicle/train/cargo/update_icon()
|
||||
if(open)
|
||||
icon_state = initial(icon_state) + "_open"
|
||||
|
||||
Reference in New Issue
Block a user