Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sejong25
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Tear of Sejong
sejong25
Commits
81eee220
Commit
81eee220
authored
5 years ago
by
18손재민
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hopaeScene'
parents
62a7700a
2b288bf8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ScenesData.js
js/ScenesData.js
+1
-1
No files found.
js/ScenesData.js
View file @
81eee220
...
...
@@ -289,8 +289,8 @@ var hopaeScene = new Phaser.Class(
{
if
(
PlayerData
.
userData
.
hopae
===
undefined
||
PlayerData
.
userData
.
hopae
.
length
==
0
||
PlayerData
.
userData
.
money
>
0
)
{
if
(
!
(
PlayerData
.
userData
.
hopae
===
undefined
||
PlayerData
.
userData
.
hopae
.
length
==
0
))
fbClient
.
updateUserData
(
'
money
'
,
-
1
);
fbClient
.
updateUserData
(
'
hopae
'
,
{
name
:
Input
.
inputField
.
text
.
text
,
type
:
'
wood
'
});
if
(
!
(
PlayerData
.
userData
.
hopae
===
undefined
||
PlayerData
.
userData
.
hopae
.
length
==
0
))
fbClient
.
updateUserData
(
'
money
'
,
-
1
);
ScenesData
.
changeScene
(
'
menuScene
'
);
}
else
...
...
This diff is collapsed.
Click to expand it.
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