Skip to content
Snippets Groups Projects
Commit 8422223d authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'fixes' into 'pregmod-master'

containsAll was deprecated for includesAll, use that instead

See merge request !6492
parents 00b5a5a2 a890589e
No related branches found
No related tags found
1 merge request!6492containsAll was deprecated for includesAll, use that instead
......@@ -197,10 +197,10 @@ With our current industrial and research capabilities upgrades will be finished
<br>Security Drones:
<<if $weapLab < 3>>
Upgrade the research facility further to unlock more upgrades for the security drones.
<<elseif $completedUpgrades.containsAll(-1, -2, -3)>>
<<elseif $completedUpgrades.includesAll(-1, -2, -3)>>
You have fully upgraded the security drones.
<</if>>
<<if !$completedUpgrades.containsAll(-1, -2, -3)>> <br> <</if>>
<<if !$completedUpgrades.includesAll(-1, -2, -3)>> <br> <</if>>
/* Drones upgrades */
<<if !$completedUpgrades.includes(-1)>>
<<link "Develop dynamic battle aware AI">>
......@@ -240,7 +240,7 @@ With our current industrial and research capabilities upgrades will be finished
<</link>>
<br>//Will take _time weeks, cost <<print cashFormat(30000)>> and will increase the base hp value of the security drones.//
<</if>>
<<if !$completedUpgrades.containsAll(-1, -2, -3)>> <br> <</if>>
<<if !$completedUpgrades.includesAll(-1, -2, -3)>> <br> <</if>>
/* human troops upgrades */
<br>Troops:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment