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

Update player kills the connection to unit in game #3

Open
steveoc64 opened this issue Apr 13, 2012 · 0 comments
Open

Update player kills the connection to unit in game #3

steveoc64 opened this issue Apr 13, 2012 · 0 comments
Assignees

Comments

@steveoc64
Copy link
Owner

Each time a user record is updated by admin, this stamps the game_unit_stats records with the owning player.

That is a good thing, however, it does not take into account sub-commanders.

If you alter a top level user account (to set a new theme or whatever), then the sub-commanders lose their connection to the units.

Change this so that it only does the unit-player stamping IF and only if the commander_id changes. Otherwise, dont update anything in the game_unit_stats table.

@ghost ghost assigned steveoc64 Apr 13, 2012
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

No branches or pull requests

1 participant