mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Merge pull request #2489 from CHOMPStationBot/upstream-merge-10996
[MIRROR] Fix bitwise ops broken in caee8d45
This commit is contained in:
@@ -255,7 +255,7 @@ Proc for attack log creation, because really why not
|
||||
if(exclusive & TASK_USER_EXCLUSIVE)
|
||||
user.status_flags |= DOING_TASK
|
||||
|
||||
if(target && exclusive & TASK_TARGET_EXCLUSIVE)
|
||||
if(target && (exclusive & TASK_TARGET_EXCLUSIVE))
|
||||
target.flags |= IS_BUSY
|
||||
|
||||
. = TRUE
|
||||
@@ -296,7 +296,7 @@ Proc for attack log creation, because really why not
|
||||
|
||||
if(exclusive & TASK_USER_EXCLUSIVE)
|
||||
user.status_flags &= ~DOING_TASK
|
||||
if(target & exclusive & TASK_TARGET_EXCLUSIVE)
|
||||
if(target && (exclusive & TASK_TARGET_EXCLUSIVE))
|
||||
target.flags &= ~IS_BUSY
|
||||
|
||||
if(progbar)
|
||||
|
||||
Reference in New Issue
Block a user