Skip to content

Commit

Permalink
inc circadian cache size, center effectiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
musurca committed Feb 23, 2022
1 parent 7a3c239 commit 73a82a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/model.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function RandomSleepDeficit(min_hrs, max_hrs)
return SleepDeficit(hrs)
end

__CIRCADIAN_CACHE_SIZE__ = 20
__CIRCADIAN_CACHE_SIZE__ = 60
__CIRCADIAN_CACHE__ = {}
function BuildCircadianCache()
local t
Expand Down
4 changes: 2 additions & 2 deletions src/spec_act.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function Sandman_Display(selected_guids)
Sandman_CheckInit()

-- formatting for our old-skool HTML tables
local table_names = { "UNIT DESIGNATION", "SKILL", "P.A.T.", "EFFECTIVENESS" }
local table_names = { "UNIT DESIGNATION", "SKILL", "P.A.T.", "<center>EFFECTIVENESS</center>" }
local table_header = "<table cellSpacing=1 cols="..#table_names.." cellPadding=1 width=\"95%\" border=2><tbody>"
table_header = table_header.."<tr>"
for k, tname in ipairs(table_names) do
Expand Down Expand Up @@ -325,7 +325,7 @@ function Sandman_ShowReservesAll(selected_guids)
Sandman_CheckInit()

-- formatting for our old-skool HTML tables
local table_names = { "SKILL", "P.A.T.", "EFFECTIVENESS" }
local table_names = { "SKILL", "P.A.T.", "<center>EFFECTIVENESS</center>" }
local table_header = "<table cellSpacing=1 cols="..#table_names.." cellPadding=1 width=\"95%\" border=2><tbody>"
table_header = table_header.."<tr>"
for k, tname in ipairs(table_names) do
Expand Down

0 comments on commit 73a82a3

Please sign in to comment.