nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refund & nitrpg: rename 2 conflictual to_json to to_json_object
[nit.git]
/
contrib
/
nitrpg
/
src
/
statistics.nit
diff --git
a/contrib/nitrpg/src/statistics.nit
b/contrib/nitrpg/src/statistics.nit
index
cde6816
..
764616f
100644
(file)
--- a/
contrib/nitrpg/src/statistics.nit
+++ b/
contrib/nitrpg/src/statistics.nit
@@
-172,7
+172,7
@@
class GameStats
for k, v in values do self[k] = v.as(Int)
end
- redef fun to_json do
+ redef fun to_json_object do
var obj = super
obj["period"] = period
obj["owner"] = owner.key