Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

found coding error easy fix #12

Open
jefhughe opened this issue Oct 9, 2013 · 2 comments
Open

found coding error easy fix #12

jefhughe opened this issue Oct 9, 2013 · 2 comments

Comments

@jefhughe
Copy link

jefhughe commented Oct 9, 2013

I found the coding error. It’s an infinite loop. Funny does not matter what party is in charge we always lose.

Government.Local.Start();
Government.State.Start();

switch(Congress){
case Majority.Republican:
while(Obama.HealthCare.Pending){
Obama.HealthCare.Stall();
}
break;
case Majority.Democrate:
while(FederalReserve.Lend) < -- resharper states this is always true!!! WTF.{
Government.Debt.Raise += 1,000,000,000,000;
}
break;
}

Government.Federal.Budget.Pass();
Government.Federal.Start();

Replace switch with

Government.Replace(IQ.GreaterThan.Eighty);

This should clear things up.

@sebastian-nanek
Copy link

👍

@EasyEJL
Copy link

EasyEJL commented Oct 10, 2013

Hmm, so far as I can tell, that Government.Federal.Budget.Pass() hasn't been hit by the Senate object in 6 years, even though the House object has successfully call it many times. Your fix probably would cover that as well though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants