mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] Makes visible messages not be obstructed by darkness if you're next to the source (#843)
* Makes visible messages not be obstructed by darkness if you're next to the source (#53706) If you're doing emotes in full darkness right next to someone, then the person won't see them, despite seeing your mob, which is counter-intuitive. This fixes that issue * Makes visible messages not be obstructed by darkness if you're next to the source Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
msg = blind_message
|
||||
else if(T != loc && T != src) //if src is inside something and not a turf.
|
||||
msg = blind_message
|
||||
else if(T.lighting_object && T.lighting_object.invisibility <= M.see_invisible && T.is_softly_lit()) //if it is too dark.
|
||||
else if(T.lighting_object && T.lighting_object.invisibility <= M.see_invisible && T.is_softly_lit() && !in_range(T,M)) //if it is too dark, unless we're right next to them.
|
||||
msg = blind_message
|
||||
if(!msg)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user