mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Refactor /obj/screen to /atom/movable/screen (#19852)
Part of backend stuff required for #19188. Should probably be test merged. --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
3c474b70df
commit
dc610520fe
@@ -54,7 +54,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
|
||||
var/hud_state = "" //name of the icon used in generating the spell hud object
|
||||
var/override_base = ""
|
||||
|
||||
var/obj/screen/connected_button
|
||||
var/atom/movable/screen/connected_button
|
||||
|
||||
///////////////////////
|
||||
///SETUP AND PROCESS///
|
||||
@@ -76,7 +76,7 @@ var/list/spells = typesof(/spell) //needed for the badmin verb for now
|
||||
silenced = max(0,silenced-1)
|
||||
sleep(1)
|
||||
if(connected_button)
|
||||
var/obj/screen/spell/S = connected_button
|
||||
var/atom/movable/screen/spell/S = connected_button
|
||||
if(!istype(S))
|
||||
return
|
||||
S.update_charge(1)
|
||||
|
||||
Reference in New Issue
Block a user