[MIRROR] fix the modify robot admin section for the ert channel (#9051)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
CHOMPStation2
2024-09-27 09:58:51 -07:00
committed by GitHub
parent a1366ac570
commit 1e0b72d950
2 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@
target.crisis_override = !target.crisis_override
return TRUE
if("add_restriction")
target.restrict_modules_to += params["new_restriction"]
target.restrict_modules_to |= params["new_restriction"]
return TRUE
if("remove_restriction")
target.restrict_modules_to -= params["rem_restriction"]