summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/reply/shr_add_weapon.erl')
-rw-r--r--src/shared/reply/shr_add_weapon.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/reply/shr_add_weapon.erl b/src/shared/reply/shr_add_weapon.erl
index 44a83dd..bd8dfb5 100644
--- a/src/shared/reply/shr_add_weapon.erl
+++ b/src/shared/reply/shr_add_weapon.erl
@@ -25,6 +25,7 @@ generate (Weapon) ->
{<<"nam">>, shr_weapon:get_name(Weapon)},
{<<"rmi">>, shr_weapon:get_minimum_range(Weapon)},
{<<"rma">>, shr_weapon:get_maximum_range(Weapon)},
+ {<<"pri">>, shr_weapon:get_is_primary(Weapon)},
{<<"omni">>, shr_omnimods:encode(shr_weapon:get_omnimods(Weapon))}
]
}.