mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
No more warnings
This commit is contained in:
@@ -33,7 +33,7 @@ end
|
||||
--- when an area is selected to add protection to the area
|
||||
Selection.on_selection(SelectionArtyArea, function(event)
|
||||
local area = aabb_align_expand(event.area)
|
||||
local player = game.get_player(event.player_index)
|
||||
local player = game.players[event.player_index]
|
||||
|
||||
if player == nil then
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user