This commit is contained in:
Marty Oehme 2018-07-08 19:05:11 +02:00
parent 4074f49228
commit 3676264444

View file

@ -32,7 +32,14 @@ class Grid {
void reset() { void reset() {
map.setAll(0, _buildGrid(w, h)); map.setAll(0, _buildGrid(w, h));
if(_startingSeed != null) addPattern(pattern: _pattern, dispersal: _dispersal,amount: _amount,seed: _startingSeed, x: _x, y: _y); if (_startingSeed != null)
addPattern(
pattern: _pattern,
dispersal: _dispersal,
amount: _amount,
seed: _startingSeed,
x: _x,
y: _y);
_dirty = true; _dirty = true;
} }