mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
fix: when querying falloff mods is checked to be not undefined
This commit is contained in:
@@ -435,7 +435,7 @@ export default class Module {
|
||||
}
|
||||
|
||||
// Falloff from range is mapped to range
|
||||
if (this.mods['fallofffromrange']) {
|
||||
if (this.mods && this.mods['fallofffromrange']) {
|
||||
return this.getRange();
|
||||
// If range is modified but not falloff, increase the falloff to keep ratio
|
||||
} else if (this.getModValue('range')) {
|
||||
|
||||
Reference in New Issue
Block a user