mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-18 14:53:13 +09:00
comma
This commit is contained in:
1 parent
66722c8291
commit
2ab8b0003e
2 files changed
+17
-17
No files matched your search
@@ -516,7 +516,7 @@ end
|
||||
--- Apply periodic bonus to a player
|
||||
--- @param player LuaPlayer
|
||||
local function apply_personal_battery_recharge(player)
|
||||
local available_energy = Vlayer.get_statistics().energy_storage
|
||||
local available_energy = Vlayer.get_statistics(player.physical_surface_index).energy_storage
|
||||
if available_energy <= 0 then
|
||||
return -- No power to give
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user