Skip to content
Snippets Groups Projects
Commit 240a9ae5 authored by deuce's avatar deuce
Browse files

Also unlock the players/players.X objects if needed.

parent b654fa4b
Branches
Tags
No related merge requests found
......@@ -172,6 +172,10 @@ function Menu(sector)
function do_exit()
{
if(player != undefined) {
if(db.status(Settings.DB,'players').lock!=undefined)
db.unlock(Settings.DB,'players');
if(db.status(Settings.DB,'players.'+player.Record).lock!=undefined)
db.unlock(Settings.DB,'players.'+player.Record);
player.Online=false;
if(player.Ported || player.Landed) {
if(db.status(Settings.DB,'sectors').lock!=undefined)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment