Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Fix #10: console spam from player list
Browse files Browse the repository at this point in the history
  • Loading branch information
narc0tiq committed Aug 21, 2015
1 parent 1c1c475 commit db1e9c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion evoGUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if not evogui then evogui = {} end
if not evogui.on_click then evogui.on_click = {} end

evogui.update_delay = 60 -- ticks to wait between each GUI update
local EXPECTED_VERSION = "0.3.1"
local EXPECTED_VERSION = "0.3.2"


function evogui.update_gui()
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EvoGUI",
"version": "0.3.1",
"version": "0.3.2",
"title": "Evolution Factor Indicator",
"author": "Octav \"narc\" Sandulescu",
"contact": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion value_sensors/player_locations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function sensor:create_ui(owner)
end

function sensor:update_ui(owner)
if self.player_list == nil then return end
if self.player_list == nil or not self.player_list.valid then return end

for _, p in ipairs(game.players) do
if self.player_list[p.name] == nil then
Expand Down

0 comments on commit db1e9c5

Please sign in to comment.