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

Fix issue with dogtag respawn/setVariable #3965

Merged
merged 1 commit into from
Jun 20, 2016
Merged

Conversation

PabstMirror
Copy link
Contributor

Because you can take dogtags when they are just unconscios, you can set the dogtagTaken var before they die, so it will get copied over to respawned unit.

This PR will:
Store object instead of bool to indicate when dogtags have been taken
When object re-spawns, the the old object reference won't apply

Store object instead of bool to indicate when dogtags have been taken
When object respawns, the the old object reference won't apply (defacto
reset)
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Jun 20, 2016
@PabstMirror PabstMirror added this to the 3.6.0 milestone Jun 20, 2016
@nicolasbadano nicolasbadano merged commit 09fd2c4 into dogtags Jun 20, 2016
@nicolasbadano nicolasbadano deleted the fixDogtagRespawn branch June 20, 2016 20:17
@nicolasbadano
Copy link
Contributor

👍

@commy2
Copy link
Contributor

commy2 commented Jun 20, 2016

I really like that method.

@nicolasbadano
Copy link
Contributor

Yup, it's very neat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants