mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-11 13:20:21 +01: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