DICE2000 / rvdata2json

interconvert rvdata/rvdata2 and json
26 stars 10 forks source link

A bug in initialize of Map #6

Open satan53x opened 9 months ago

satan53x commented 9 months ago

rgss3.rb

class RPG::Map
  def initialize(width, height)
  ...
    @battleback_floor_name = ''
    @battleback_wall_name = ''
  ...
  attr_accessor :battleback1_name
  attr_accessor :battleback2_name

The initialized variable names should be the same as below. Otherwise it will result in an inability to write back, the battleback1_name and battleback2_name will be nil.