Boolean seemingly changing out of thin air C#

My code was running perfectly, but all of a sudden things started to go awry. For some reason, one of my booleans will just switch from false to true and vice versa, even though there is no code that would make it do such a thing. You can see in the code below that I have a print statement at the top and at the bottom, and although they should both print out the same boolean value, they do not. The update function is the only function running in this script, so I don’t know why this is happening. Any suggestions as to what I should do will be greatly appreciated.

58198-screen-shot-2015-11-15-at-52552-pm.png

		void Update () {

		print ("6: " + seaweed1Started);
		if (true) {
			seaweed1Started = objectPlacement (seaweed1, 200, seaweed1Started, 0);
			}
		print ("5: " + seaweed1Started);
		}

“even though there is no code that
would make it do such a thing.”

You do have code that would make it do such a thing:

seaweed1Started = objectPlacement (seaweed1, 200, seaweed1Started, 0);

You are calling the objectPlacement method and setting your boolean variable seaweed1Started to whatever it returns. What has changed in objectPlacement?

Also, there’s no need to write if (true) because that statement will always be true. Is that temporary code, or are you trying to express something in code that you are not sure how?

@pekalicious The script is only going to be used in one place on one gameObject