mirror of
https://github.com/Oreolek/undum.git
synced 2024-05-03 17:49:21 +03:00
Merge pull request #40 from sequitur/quality-list-null
Fixed 'null' in WordScaleQuality lists not behaving as you'd expect
This commit is contained in:
commit
56c080c984
|
@ -476,7 +476,8 @@
|
|||
val = this.values.length - 1;
|
||||
}
|
||||
if (!this.useBonuses) mod = "";
|
||||
return this.values[val] + mod;
|
||||
if (this.values[val] === null) return null;
|
||||
return this.values[val] + mod; // Type coercion
|
||||
};
|
||||
|
||||
/* A specialization of WordScaleQuality that uses the FUDGE RPG's
|
||||
|
|
Loading…
Reference in a new issue