Added checks to player list buttons

This commit is contained in:
Cooldude2606
2019-05-30 13:36:39 +01:00
parent 2fc58e2e47
commit 5b3241b3a6
3 changed files with 43 additions and 9 deletions

View File

@@ -84,6 +84,8 @@ end)
local progress_label = element.parent.parent[rocket_silo_name].label
progress_label.caption = {'rocket-info.progress-launched'}
progress_label.style.font_color = Colors.green
else
player.print({'rocket-info.launch-failed'},Colors.orange_red)
end
end)