mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 02:39:29 -05:00
if item.silent is set, respect it.
This commit is contained in:
+1
-1
@@ -7186,7 +7186,7 @@ function init_io() {
|
||||
player.items[data.num] = item;
|
||||
player.citems[data.num] = cache_item(player.items[data.num]);
|
||||
|
||||
const announce = !item.silent ?? true;
|
||||
const announce = !item.silent;
|
||||
|
||||
if (announce && !player.stealth) {
|
||||
broadcast("server_message", {
|
||||
|
||||
Reference in New Issue
Block a user