mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #4504 from VictorZisthus/bulletpen-fix
Shuttle/Voidcraft Hotfix
This commit is contained in:
@@ -58,6 +58,10 @@
|
||||
if(D.glass) chance *= 2
|
||||
else if(istype(A, /obj/structure/girder))
|
||||
chance = 100
|
||||
else if(istype(A, /obj/machinery/door/airlock/voidcraft)) //CHOMPEDIT Begin, lets the code see shuttlecraft structures and not treat them as air.
|
||||
chance = 0
|
||||
else if(istype(A, /turf/simulated/shuttle/wall))
|
||||
chance = 0 //CHOMPEDIT End. Yeah, shuttlecraft can handle small arms fire just fine.
|
||||
|
||||
if(prob(chance))
|
||||
if(A.opacity)
|
||||
|
||||
Reference in New Issue
Block a user