m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hex_engine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/hex_engine.rb b/hex_engine.rb
index cd44d56..3f3dbbc 100644
--- a/hex_engine.rb
+++ b/hex_engine.rb
@@ -11,7 +11,7 @@ class Hex < Engine
@state = hash['state'] || 'play'
@health = (hash['health'] || 6).to_i
@endurance = (hash['endurance'] || 6).to_i
- @xp = (hash['xp'] || 49).to_i
+ @xp = (hash['xp'] || 0).to_i
@level =( hash['level'] || 1).to_i
@keys = (hash['keys'] || 0).to_i
@magic_weapon = (hash['magic_weapon'] || 0).to_i