GITLAB
wasteland
/
server
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Issues
0
Merge Requests
0
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
e3c3a4f5648e5a0ddd5567b5ae9267f373101a08
Authored by
zhouhaihai
2019-08-06 15:36:18 +0800
1 parent
15cba0bf
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/Hero.lua
Inline
Side-by-side
src/models/Hero.lua
Wrap text
Show/Hide comments
View file @
e3c3a4f
...
...
@@ -88,7 +88,7 @@ function Hero:data()
88
88
end
89
89
90
90
function Hero:getCamp()
91
- return
self:getProperty("type")].camp
91
+ return
csvdb["unitCsv"][
self:getProperty("type")].camp
92
92
end
93
93
94
94
return Hero
95
95
\ No newline at end of file
...
...