mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
allow COMSIG_ATOM_UPDATE_OVERLAY responders to add managed overlays directly (#29091)
This commit is contained in:
+2
-2
@@ -555,7 +555,6 @@
|
||||
else
|
||||
managed_overlays = new_overlays
|
||||
add_overlay(new_overlays)
|
||||
SEND_SIGNAL(src, COMSIG_ATOM_UPDATE_OVERLAYS)
|
||||
|
||||
SEND_SIGNAL(src, COMSIG_ATOM_UPDATED_ICON, updates)
|
||||
|
||||
@@ -567,7 +566,8 @@
|
||||
/// Updates the overlays of the atom. It has to return a list of overlays if it can't call the parent to create one. The list can contain anything that would be valid for the add_overlay proc: Images, mutable appearances, icon states...
|
||||
/atom/proc/update_overlays()
|
||||
PROTECTED_PROC(TRUE)
|
||||
return list()
|
||||
. = list()
|
||||
SEND_SIGNAL(src, COMSIG_ATOM_UPDATE_OVERLAYS, .)
|
||||
|
||||
/atom/proc/relaymove()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user