Skip to content

Commit 6ef287d

Browse files
Not forgetting to modify Event.lua
1 parent 1016cdc commit 6ef287d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Event.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,17 +204,17 @@ local function HandleMessage(prat_struct, event, ...)
204204
-- has just been loaded
205205
if player == "Unknown" then
206206
new_message_struct_2.arg1 = "<" .. Elephant.L['masterlooternameunknown'] .. ">"
207-
elseif player ~= Elephant.tempConf.masterlooter then
208-
Elephant.tempConf.masterlooter = player
207+
elseif player ~= Elephant.volatileConfiguration.masterlooter then
208+
Elephant.volatileConfiguration.masterlooter = player
209209

210210
new_message_struct_2.arg1 = format(Elephant.L['masterlooterchanged'], player)
211211
end
212212
else
213-
Elephant.tempConf.masterlooter = nil
213+
Elephant.volatileConfiguration.masterlooter = nil
214214
end
215215

216-
if method ~= Elephant.tempConf.lootmethod then
217-
Elephant.tempConf.lootmethod = method
216+
if method ~= Elephant.volatileConfiguration.lootmethod then
217+
Elephant.volatileConfiguration.lootmethod = method
218218
new_message_struct.arg1 = Elephant.L['lootmethod'][method]
219219
else
220220
-- Warning: new_message_struct_2 might also be nil

0 commit comments

Comments
 (0)