mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Use PlayerStat names in player_list.lua
This commit is contained in:
parent
0e768ec608
commit
741267873f
@ -15,12 +15,12 @@ local player_sprites = require 'resources.player_sprites'
|
||||
local ScoreTracker = require 'utils.score_tracker'
|
||||
local get_for_global = ScoreTracker.get_for_global
|
||||
local get_for_player = ScoreTracker.get_for_player
|
||||
local player_count_name = 'player-count'
|
||||
local coins_spent_name = 'coins-spent'
|
||||
local coins_earned_name = 'coins-earned'
|
||||
local player_deaths_name = 'player-deaths'
|
||||
local player_distance_walked_name = 'player-distance-walked'
|
||||
local player_total_kills_name = 'player-total-kills'
|
||||
local player_count_name = PlayerStats.player_count_name
|
||||
local coins_spent_name = PlayerStats.coins_spent_name
|
||||
local coins_earned_name = PlayerStats.coins_earned_name
|
||||
local player_deaths_name = PlayerStats.player_deaths_name
|
||||
local player_distance_walked_name = PlayerStats.player_distance_walked_name
|
||||
local player_total_kills_name = PlayerStats.player_total_kills_name
|
||||
local random = math.random
|
||||
local ipairs = ipairs
|
||||
local pairs = pairs
|
||||
|
Loading…
Reference in New Issue
Block a user