|
@@ -7,13 +7,12 @@ func openmenu():
|
|
|
$Control/VSeparator2.hide()
|
|
|
$Control/VSeparator/ItemList.clear()
|
|
|
var array = []
|
|
|
+ var text = Powerups.menbros.keys() + Powerups.corpo.keys() + Powerups.apendice.keys()
|
|
|
for x in 5:
|
|
|
- var text = Powerups.menbros.keys() + Powerups.corpo.keys() + Powerups.apendice.keys()
|
|
|
while text.has('null'): text.erase('null')
|
|
|
- while true:
|
|
|
- text.shuffle()
|
|
|
- if not array.has(text): break
|
|
|
+ text.shuffle()
|
|
|
array.append(text[0])
|
|
|
+ text.remove(0)
|
|
|
for x in array:
|
|
|
$Control/VSeparator/ItemList.add_item(x)
|
|
|
|