Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
to-the-surface
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
GDW-SS-18
to-the-surface
Commits
5495c707
Commit
5495c707
authored
Sep 29, 2018
by
Jan Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug regarding the LevelSelect
parent
4117043b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Assets/_Game/Scripts/LevelSelectController.cs
Assets/_Game/Scripts/LevelSelectController.cs
+1
-1
No files found.
Assets/_Game/Scripts/LevelSelectController.cs
View file @
5495c707
...
...
@@ -18,7 +18,7 @@ public class LevelSelectController : MonoBehaviour {
{
int
highestLevel
=
GameManager
.
Instance
.
HighestLevel
;
int
lastLevel
=
GameManager
.
Instance
.
LastLevel
;
int
pagesNeeded
=
lastLevel
/
6
+
1
;
int
pagesNeeded
=
lastLevel
%
6
==
0
?
lastLevel
/
6
:
lastLevel
/
6
+
1
;
int
buttonsOnLastPage
=
lastLevel
%
6
;
GameObject
currentPage
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment