Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SenseiBGA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BGA-Tchobello
SenseiBGA
Commits
8982db37
Unverified
Commit
8982db37
authored
2 years ago
by
Thibault HUTTIN-PASSERON
Browse files
Options
Downloads
Patches
Plain Diff
Fixed turns_number player stat increment
parent
b72667b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/php/States/Actions/SENNextPlayerStateActionMethodsTrait.php
+1
-1
1 addition, 1 deletion
...p/States/Actions/SENNextPlayerStateActionMethodsTrait.php
with
1 addition
and
1 deletion
modules/php/States/Actions/SENNextPlayerStateActionMethodsTrait.php
+
1
−
1
View file @
8982db37
...
...
@@ -10,10 +10,10 @@ trait SENNextPlayerStateActionMethodsTrait
$players
=
$this
->
loadPlayersBasicInfos
();
$this
->
giveExtraTime
(
$player_id
);
$this
->
incStat
(
1
,
'turns_number'
,
$player_id
);
if
(
1
===
(
int
)
$players
[
$player_id
][
"player_no"
]
)
{
$this
->
incStat
(
1
,
'turns_number'
);
$this
->
incStat
(
1
,
'turns_number'
,
$player_id
);
}
$this
->
gamestate
->
nextState
(
'nextplayer'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment