adventure: fix owner gear regression and drop em-dashes from equip copy
Show the public Gear panel whenever the owner's Equipment panel won't render (no pushed Slots), so an owner whose detail predates ask 7 still sees their standard gear instead of a blank. Replace em-dashes in the equip feature's user-facing strings with plain commas.
This commit is contained in:
@@ -129,7 +129,7 @@ func (s *Server) handleEquipOrder(w http.ResponseWriter, r *http.Request) {
|
||||
// The web offers the next tier only; a request for anything else is a stale
|
||||
// page or a forged jump. Refuse rather than debit for a tier the owner never
|
||||
// saw priced.
|
||||
writeEquipError(w, http.StatusConflict, "that upgrade is out of date — reload the page")
|
||||
writeEquipError(w, http.StatusConflict, "that upgrade is out of date, reload the page")
|
||||
return
|
||||
}
|
||||
itemName, slot, tier = sv.NextName, sv.Slot, sv.NextTier
|
||||
@@ -148,7 +148,7 @@ func (s *Server) handleEquipOrder(w http.ResponseWriter, r *http.Request) {
|
||||
writeEquipError(w, http.StatusInternalServerError, "internal error")
|
||||
return
|
||||
} else if n >= equipBurstMax {
|
||||
writeEquipError(w, http.StatusTooManyRequests, "slow down — too many changes in a short while")
|
||||
writeEquipError(w, http.StatusTooManyRequests, "slow down, too many changes in a short while")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user