Commit 0c1377a2c39c303bd858098cfbacd1b9b55c79e9
1 parent
90b47813
restore nowarning targeting option
Showing
1 changed file
with
1 additions
and
0 deletions
... | ... | @@ -310,6 +310,7 @@ function _M:targetGetForPlayer(typ) |
310 | 310 | msg = typ.msg |
311 | 311 | end |
312 | 312 | self:targetMode("exclusive", msg, coroutine.running(), typ) |
313 | + if typ.nowarning then self.target_warning = false end | |
313 | 314 | if self.target.target.x and config.settings.auto_accept_target and not typ.immediate_keys and (not typ.nolock or typ.can_autoaccept) and (not typ.nowarning or typ.can_autoaccept) and (not typ.no_restrict or typ.can_autoaccept) then |
314 | 315 | self.target_co = nil |
315 | 316 | self:targetMode(false, false) self.tooltip_x, self.tooltip_y = nil, nil | ... | ... |
-
Please register or login to post a comment