Changeset

10539:25f80afb1631

core.statsmanager: Ignore unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 21:27:34 +0100
parents 10538:71b82567245c
children 10540:375d31225d53
files core/statsmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/statsmanager.lua	Mon Dec 23 21:26:51 2019 +0100
+++ b/core/statsmanager.lua	Mon Dec 23 21:27:34 2019 +0100
@@ -79,6 +79,7 @@
 			if stats.get_stats then
 				changed_stats, stats_extra = {}, {};
 				for stat_name, getter in pairs(stats.get_stats()) do
+					-- luacheck: ignore 211/type
 					local type, value, extra = getter();
 					local old_value = latest_stats[stat_name];
 					latest_stats[stat_name] = value;