From d170c9eee8946d327e1ed8dcd58e389dbb8618e7 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 23 Sep 2023 23:07:12 +0900 Subject: [PATCH] remove parameter of ple --- modules/data/personal-logistic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/data/personal-logistic.lua b/modules/data/personal-logistic.lua index a1159e69..f3825109 100644 --- a/modules/data/personal-logistic.lua +++ b/modules/data/personal-logistic.lua @@ -97,7 +97,7 @@ end) Commands.new_command('personal-logistic-empty', 'Set Personal Logistic to All 0') :add_alias('ple') -:register(function(player, amount) +:register(function(player) if player.force.technologies['logistic-robotics'].researched then pl('c', player, 0) return Commands.success