summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/type/weapon_shim.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/type/weapon_shim.erl b/src/type/weapon_shim.erl
index 6225e25..7f8c714 100644
--- a/src/type/weapon_shim.erl
+++ b/src/type/weapon_shim.erl
@@ -33,4 +33,4 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% EXPORTED FUNCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-rand() -> 0.
+rand() -> (rand:uniform(22) - 1).