fix alt query args

master
flux 2019-08-11 02:17:42 +00:00
parent af4f957bf1
commit a7933723f5
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ function data.get_alts(player_id)
WHERE master.id == ?
]]
local master_id = data.get_master(player_id) or player_id
local rows = get_full_ntable(code, 'get alts', master_id)
local rows = get_full_ntable(code, 'get alts', master_id, master_id)
if rows then
local alts = {}
for _, row in ipairs(rows) do