mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Changed disability removal to bitmask operators rather than -= as per Chinsky's posts in the diff.
This commit is contained in:
@@ -41,9 +41,9 @@
|
||||
if(mutation && (mutation in M.mutations))
|
||||
M.mutations.Remove(mutation)
|
||||
if(disability)
|
||||
M.disabilities-=disability
|
||||
M.disabilities &= ~disability
|
||||
if(mutation)
|
||||
M.sdisabilities-=sdisability
|
||||
M.sdisabilities &= ~sdisability
|
||||
if(deactivation_message)
|
||||
M << "\red [deactivation_message]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user