mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Adds some parenthesis to some bitwise operations (#76002)
## About The Pull Request A set of parenthesis a day keeps weird order of operations away ## Why It's Good For The Game Might be causing bugs? ## Changelog 🆑 Melbert fix: Maybe fixes minor bugs in disease cure, revolution, hooded suit code /🆑
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
stage = new_stage
|
||||
|
||||
/datum/disease/proc/has_cure()
|
||||
if(!(disease_flags & CURABLE | CHRONIC))
|
||||
if(!(disease_flags & (CURABLE | CHRONIC)))
|
||||
return FALSE
|
||||
|
||||
. = cures.len
|
||||
|
||||
Reference in New Issue
Block a user