line-em-up/models/player.rb in line-em-up-2.0.2 vs line-em-up/models/player.rb in line-em-up-2.0.3
- old
+ new
@@ -65,10 +65,10 @@
@damage_increase = invert_handicap > 0 ? 1 + (invert_handicap) : 1
@kill_count = 0
@main_weapon = nil
# @drawable_items_near_self = []
@broadside_mode = false
- ship = ConfigSetting.get_setting(CONFIG_FILE, 'ship', BasicShip)
+ ship = ConfigSetting.get_setting(CONFIG_FILE, 'ship', BasicShip.name.to_s)
if ship
ship_class = eval(ship)
@ship = ship_class.new(scale, x, y, screen_width, screen_height, options)
else
@ship = BasicShip.new(scale, x, y, screen_width, screen_height, options)
\ No newline at end of file