Skip to content
Snippets Groups Projects
Commit 7a1dbd4f authored by lowercasedonkey's avatar lowercasedonkey
Browse files

move corp init

parent 5147b715
No related branches found
No related tags found
No related merge requests found
App.Corporate.InitConstants = function() { App.Corporate.InitConstants = function() {
if (!V.corp) { V.corp = {}; }
App.Corporate.payoutMinimumCash = 1000000; App.Corporate.payoutMinimumCash = 1000000;
App.Corporate.payoutCorpValueMultiplier = 0.05; App.Corporate.payoutCorpValueMultiplier = 0.05;
App.Corporate.dividendOptions = [0.75, 0.5, 0.25, 0.1, 0.05]; App.Corporate.dividendOptions = [0.75, 0.5, 0.25, 0.1, 0.05];
......
...@@ -7,7 +7,4 @@ ...@@ -7,7 +7,4 @@
<<set setup[_k] = _v>> <<set setup[_k] = _v>>
<</for>> <</for>>
<<run App.Art.cacheArtData()>> <<run App.Art.cacheArtData()>>
<<if ndef $corp>>
<<set $corp = {}>>
<</if>>
<<run App.Corporate.Init()>> <<run App.Corporate.Init()>>
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