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

Allow scripts to get the Valued.Cost value of an actor type #11819

Merged
merged 1 commit into from Aug 14, 2016

Conversation

phrohdoh
Copy link
Member

@phrohdoh phrohdoh commented Aug 13, 2016

A trait lookup and null check is done each time this is called.

Actor.Cost("e1")

@GraionDilach
Copy link
Contributor

👍

1 similar comment
@obrakmann
Copy link
Contributor

👍

@obrakmann obrakmann merged commit 54b7fd7 into OpenRA:bleed Aug 14, 2016
@obrakmann
Copy link
Contributor

Changelog

@phrohdoh phrohdoh deleted the actor-global-cost branch August 14, 2016 22:01
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

3 participants