mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-25 16:53:28 +00:00
Misc fixes.
The station alert console no longer uses the old interact proc() to open the window interface. Makes the records computers use the ui_interact proc to show the window. This fixes https://github.com/PolarisSS13/Polaris/issues/537. The station alert console now registers alarms using the correct procs. The proper fingerprint type should now be applied during Topic() call (this means that admin observer object NanoUI interactions now have a degree of logging).
This commit is contained in:
@@ -45,11 +45,19 @@
|
||||
return 1
|
||||
|
||||
/obj/proc/CouldUseTopic(var/mob/user)
|
||||
if(!isAI(user) && src.Adjacent(user))
|
||||
// We are -probably- in physical contact with the object, better than how Topics() previously did it and always applied fingerprints.
|
||||
add_fingerprint(user)
|
||||
user.AddTopicPrint(src)
|
||||
|
||||
/mob/proc/AddTopicPrint(var/obj/target)
|
||||
target.add_hiddenprint(src)
|
||||
|
||||
/mob/living/AddTopicPrint(var/obj/target)
|
||||
if(Adjacent(target))
|
||||
target.add_fingerprint(src)
|
||||
else
|
||||
add_hiddenprint(user)
|
||||
target.add_hiddenprint(src)
|
||||
|
||||
/mob/living/silicon/ai/AddTopicPrint(var/obj/target)
|
||||
target.add_hiddenprint(src)
|
||||
|
||||
/obj/proc/CouldNotUseTopic(var/mob/user)
|
||||
// Nada
|
||||
|
||||
Reference in New Issue
Block a user