mirror of
https://github.com/stujones11/wield3d.git
synced 2025-01-12 16:07:32 +01:00
Fix stale entity clean-up and disable static saving
This commit is contained in:
parent
e6a6e59b5c
commit
668ea2682a
3
init.lua
3
init.lua
@ -79,10 +79,11 @@ local wield_entity = {
|
||||
textures = {"wield3d:hand"},
|
||||
wielder = nil,
|
||||
timer = 0,
|
||||
static_save = false,
|
||||
}
|
||||
|
||||
function wield_entity:on_activate(staticdata)
|
||||
if staticdata then
|
||||
if staticdata and staticdata ~= "" then
|
||||
self.wielder = staticdata
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user