Prefixed all disability defines with DISABILITY_ to fix a name collision
This commit is contained in:
committed by
CitadelStationBot
parent
2378235f51
commit
164db7ae9b
@@ -155,10 +155,14 @@
|
||||
return
|
||||
|
||||
|
||||
//Exclude lasertag guns from the CLUMSY check.
|
||||
//Exclude lasertag guns from the DISABILITY_CLUMSY check.
|
||||
if(clumsy_check)
|
||||
if(istype(user))
|
||||
<<<<<<< HEAD
|
||||
if (user.disabilities & CLUMSY && prob(40))
|
||||
=======
|
||||
if (user.has_disability(DISABILITY_CLUMSY) && prob(40))
|
||||
>>>>>>> bc20a75... Merge pull request #33783 from Cruix/fix_blind
|
||||
to_chat(user, "<span class='userdanger'>You shoot yourself in the foot with [src]!</span>")
|
||||
var/shot_leg = pick("l_leg", "r_leg")
|
||||
process_fire(user,user,0,params, zone_override = shot_leg)
|
||||
|
||||
Reference in New Issue
Block a user