forked from mtcontrib/awards
Fix crash when opening awards after clearing
This commit is contained in:
parent
92c43d1c04
commit
963c5772df
2
api.lua
2
api.lua
@ -157,7 +157,7 @@ function awards.disable(name)
|
||||
end
|
||||
|
||||
function awards.clear_player(name)
|
||||
awards.players[name] = nil
|
||||
awards.players[name] = {}
|
||||
end
|
||||
|
||||
-- This function is called whenever a target condition is met.
|
||||
|
Loading…
x
Reference in New Issue
Block a user