Skip to content

A bug in initialize of Map #6

@satan53x

Description

@satan53x

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions