widgets/craftslot.lua
474849505152
if not down and control == CONTROL_ACCEPT then
if self.owner and self.recipe then
if self.recipepopup and not self.recipepopup.focus then
if not DoRecipeClick(self.owner, self.recipe) then self:Close() end
return true
end
47484950515253
if not down and control == CONTROL_ACCEPT then
if self.owner and self.recipe then
if self.recipepopup and not self.recipepopup.focus then
TheFrontEnd:GetSound():PlaySound("dontstarve/HUD/click_move")
if not DoRecipeClick(self.owner, self.recipe) then self:Close() end
return true
end