Thalassicus / cep-bnw

Civ V Communitas Expansion Pack
32 stars 22 forks source link

Disable Restart Button #115

Closed wguldin closed 10 years ago

wguldin commented 10 years ago

(formerly "Can't pick production in city when game is restarted")

If you hit "restart game" on your first turn, a new game will load, and you will be able to found your capital. You can't choose what to produce in that city, though. The button to do so doesn't work.

GrantSP commented 10 years ago

There are difficulties with some of the lua code not being reloaded upon restarts. This is part of the reason why the Load Game menu option is removed from the ingame menu.

It is a Firaxis fault as it will also give weird results if you first start a vanilla game and then quit to the main menu and then start a modded game. The end result is you have to quit to desktop at times.

wguldin commented 10 years ago

Ah, thanks for the clarification. I'll close the issue then.

stackpoint commented 10 years ago

Before my hiatus, I was able to identify the files needed to disable the restart button. I'll look into it again when I have some more free time.

stackpoint commented 10 years ago

Restart disabled here: https://github.com/Thalassicus/cep-bnw/commit/02699f5d2b12f987c8fc5bc7ceb9521892e3e62e