aboutsummaryrefslogtreecommitdiff
path: root/riot/riot.gd
diff options
context:
space:
mode:
authorjuneflow <63904206+juneflow@users.noreply.github.com>2020-04-18 19:52:21 +0200
committerjuneflow <63904206+juneflow@users.noreply.github.com>2020-04-18 19:52:21 +0200
commitc5d0c875e1e622fe897390ab745b283756fc3336 (patch)
treebadddb47ae93ae6da7accf123a26b19b53de8f8a /riot/riot.gd
parent255475d35b954d442a79fd937dfaf395204cf639 (diff)
parentc94bcec15175b363057c9701481512b6d9b9dfdf (diff)
downloadLDJam46-c5d0c875e1e622fe897390ab745b283756fc3336.tar.gz
LDJam46-c5d0c875e1e622fe897390ab745b283756fc3336.tar.bz2
LDJam46-c5d0c875e1e622fe897390ab745b283756fc3336.zip
Merge branch 'master' of https://github.com/romangraef/LDJam46
Diffstat (limited to 'riot/riot.gd')
-rw-r--r--riot/riot.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/riot/riot.gd b/riot/riot.gd
index 4fd0173..9bfa056 100644
--- a/riot/riot.gd
+++ b/riot/riot.gd
@@ -7,7 +7,7 @@ func random_position():
var devs = []
func _ready() -> void:
- for i in range(10):
+ for i in range(SaveState.upgrades['wageslavery'] + 1):
var instance: AngryDev = dev_blueprint.instance()
var vec = random_position()
while vec.distance_squared_to(manager.position) < 256 * 256: