Remove save func from player j/l.
This commit is contained in:
parent
bec629beb7
commit
3bf0f99aa4
|
@ -923,7 +923,6 @@ function(player)
|
||||||
createHudPower(player,faction)
|
createHudPower(player,faction)
|
||||||
faction.offlineplayers[name] = nil
|
faction.offlineplayers[name] = nil
|
||||||
faction.onlineplayers[name] = 1
|
faction.onlineplayers[name] = 1
|
||||||
factions.save()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
@ -938,7 +937,6 @@ minetest.register_on_leaveplayer(
|
||||||
removeHud(player,"powerWatch")
|
removeHud(player,"powerWatch")
|
||||||
faction.offlineplayers[name] = 1
|
faction.offlineplayers[name] = 1
|
||||||
faction.onlineplayers[name] = nil
|
faction.onlineplayers[name] = nil
|
||||||
factions.save()
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user