mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[MIRROR] Properly checks flags with & instead of == [MDB IGNORE] (#16487)
* Properly checks flags with & instead of == * merge fixed for changeling * skyrat equipment updated Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
co-authored by
John Willard
Tastyfish
parent
de331bbe60
commit
32db6d2411
@@ -128,7 +128,7 @@
|
||||
if (new_fax_name != fax_name)
|
||||
if (fax_name_exist(new_fax_name))
|
||||
// Being able to set the same name as another fax machine will give a lot of gimmicks for the traitor.
|
||||
if (syndicate_network != TRUE && obj_flags != EMAGGED)
|
||||
if (syndicate_network != TRUE && !(obj_flags & EMAGGED))
|
||||
to_chat(user, span_warning("There is already a fax machine with this name on the network."))
|
||||
return TOOL_ACT_TOOLTYPE_SUCCESS
|
||||
user.log_message("renamed [fax_name] (fax machine) to [new_fax_name].", LOG_GAME)
|
||||
|
||||
Reference in New Issue
Block a user