Преглед изворни кода

Fixed a small bug in NESPalette

dev-tmpl
Bryan Miller пре 7 година
родитељ
комит
59d5722192
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      app/js/NESPalette.js

+ 1
- 1
app/js/NESPalette.js Прегледај датотеку

if (pci < 0 || pci >= 4){ if (pci < 0 || pci >= 4){
throw new RangeError("Palette color index is out of bounds."); throw new RangeError("Palette color index is out of bounds.");
} }
return NESPalette.SystemColor(this.get_palette_syscolor_index(p, pci));
return NESPalette.SystemColor[this.get_palette_syscolor_index(p, pci)];
} }


/** /**

Loading…
Откажи
Сачувај