Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect cc.req.CompleteContract.cooldown in localization #33

Merged
merged 1 commit into from Jan 6, 2024

Conversation

IO5
Copy link

@IO5 IO5 commented Jan 4, 2024

cc.req.CompleteContract.cooldown aka "Must have completed contract <<1>> within the last <<2>>" is produced from .cfg like so:

REQUIREMENT
{
	type = CompleteContract

	contractType = someContract
	cooldownDuration = 23
}

"cooldown" is pretty much the opposite of "within the last". The actual logic in the plugin is a cooldown. Curiously the negative (#cc.req.CompleteContract.cooldown.x) is correct.

@siimav siimav merged commit ef2eaa2 into KSP-RO:master Jan 6, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants