Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
K'van
Tales of MajEyal
Commits
693f7b37
Commit
693f7b37
authored
13 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
plop
git-svn-id:
http://svn.net-core.org/repos/t-engine4@4712
51575b47-30f0-44d4-a5cc-537603b46e54
parent
5dfef99b
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
game/modules/tome/class/interface/PlayerDumpJSON.lua
+9
-0
9 additions, 0 deletions
game/modules/tome/class/interface/PlayerDumpJSON.lua
with
9 additions
and
0 deletions
game/modules/tome/class/interface/PlayerDumpJSON.lua
+
9
−
0
View file @
693f7b37
...
...
@@ -320,6 +320,15 @@ function _M:dumpToJSON(js)
dead
=
self
.
dead
and
"dead"
or
nil
,
winner
=
self
.
winner
and
"winner"
or
nil
,
}
local
addons
=
{}
for
name
,
add
in
pairs
(
game
.
__mod_info
.
addons
)
do
addons
[
#
addons
+
1
]
=
add
.
short_name
end
if
#
addons
>
0
then
tags
.
addons
=
table.concat
(
addons
,
','
)
end
if
self
.
has_custom_tile
then
tags
.
tile
=
self
.
has_custom_tile
js
:
hiddenData
(
"tile"
,
self
.
has_custom_tile
)
...
...
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