mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-08-20 18:54:05 +02:00
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
|
end
|
||||||
|
|
||||||
function awards.clear_player(name)
|
function awards.clear_player(name)
|
||||||
awards.players[name] = nil
|
awards.players[name] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
-- This function is called whenever a target condition is met.
|
-- This function is called whenever a target condition is met.
|
||||||
|
Loading…
Reference in New Issue
Block a user