diff options
author | juneflow <63904206+juneflow@users.noreply.github.com> | 2020-04-21 00:54:37 +0200 |
---|---|---|
committer | juneflow <63904206+juneflow@users.noreply.github.com> | 2020-04-21 00:54:37 +0200 |
commit | ac8c93b5cfa7b5c409dac0a4d39f2f9221cfc536 (patch) | |
tree | 1377ab38608ca644c0d922bfcc2b7d3ea0929b55 /buildings/dev.gd | |
parent | 66695bb45b91906cc7209378c454cc268309840a (diff) | |
parent | 1b94a2d094ea3a0db0bf4bfc72dad5f968c67a37 (diff) | |
download | LDJam46-ac8c93b5cfa7b5c409dac0a4d39f2f9221cfc536.tar.gz LDJam46-ac8c93b5cfa7b5c409dac0a4d39f2f9221cfc536.tar.bz2 LDJam46-ac8c93b5cfa7b5c409dac0a4d39f2f9221cfc536.zip |
Merge branch 'master' of https://github.com/romangraef/LDJam46
Diffstat (limited to 'buildings/dev.gd')
-rw-r--r-- | buildings/dev.gd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/buildings/dev.gd b/buildings/dev.gd index 96f0615..5785ebc 100644 --- a/buildings/dev.gd +++ b/buildings/dev.gd @@ -27,6 +27,11 @@ func invoke_riot() -> void: var mgt = find_parent('management') mgt.hide() mgt.pause_mode = PAUSE_MODE_STOP - mgt.get_parent().add_child(riot.instance()) + var i = null + if randf() < 0.5: + i = riot.instance() + else: + i = law_suit.instance() + mgt.get_parent().add_child(i) |