diff --git a/game/modules/tome/class/Game.lua b/game/modules/tome/class/Game.lua
index 93dfbdea237e5487642f98449a02ac2d20ce50fb..5b855c9446c8259566381f26c3416f3508c94d90 100644
--- a/game/modules/tome/class/Game.lua
+++ b/game/modules/tome/class/Game.lua
@@ -1522,10 +1522,10 @@ function _M:setAllowedBuild(what, notify)
 	-- Do not unlock things in easy mode
 	--if self.difficulty == self.DIFFICULTY_EASY then return end
 
+	local old = profile.mod.allow_build[what]
 	profile:saveModuleProfile("allow_build", {name=what})
 
-	if profile.mod.allow_build[what] then return end
-	profile.mod.allow_build[what] = true
+	if old then return end
 
 	if notify then
 		self.state:checkDonation() -- They gained someting nice, they could be more receptive