diff --git a/xtrn/tw2/editor.js b/xtrn/tw2/editor.js
index ccd17125945a10eeb3726e626d62fad1bf7d693d..faa5c07e6cb3e625060a9bc7096170217a0b3c8c 100644
--- a/xtrn/tw2/editor.js
+++ b/xtrn/tw2/editor.js
@@ -343,7 +343,7 @@ function SectorEdit()
 
 	if(sec>0 && sec <seclen) {
 		var sector=db.read(Settings.DB,'sectors.'+sec,LOCK_READ);
-		EditProperties(sector, SectorProperties);
+		LockedEditProperties(sector, SectorProperties);
 		db.write(Settings.DB,'sectors.'+sec,sector,LOCK_WRITE);
 	}
 }