mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
Fix lighting on CameraConsole and Spy Bug (#50669)
This commit is contained in:
@@ -7,10 +7,6 @@
|
||||
*/
|
||||
var/list/screen_maps = list()
|
||||
|
||||
/**
|
||||
* A screen object, which acts as a container for turfs and other things
|
||||
* you want to show on the map, which you usually attach to "vis_contents".
|
||||
*/
|
||||
/obj/screen
|
||||
/**
|
||||
* Map name assigned to this object.
|
||||
@@ -26,6 +22,15 @@
|
||||
*/
|
||||
var/del_on_map_removal = TRUE
|
||||
|
||||
/**
|
||||
* A screen object, which acts as a container for turfs and other things
|
||||
* you want to show on the map, which you usually attach to "vis_contents".
|
||||
*/
|
||||
/obj/screen/map_view
|
||||
// Map view has to be on the lowest plane to enable proper lighting
|
||||
layer = GAME_PLANE
|
||||
plane = GAME_PLANE
|
||||
|
||||
/**
|
||||
* A generic background object.
|
||||
* It is also implicitly used to allocate a rectangle on the map, which will
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// Stuff needed to render the map
|
||||
var/map_name
|
||||
var/const/default_map_size = 15
|
||||
var/obj/screen/cam_screen
|
||||
var/obj/screen/map_view/cam_screen
|
||||
var/obj/screen/plane_master/lighting/cam_plane_master
|
||||
var/obj/screen/background/cam_background
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
desc = "an advanced peice of espionage equipment in the shape of a pocket protector. it has a built in 360 degree camera for all your nefarious needs. Microphone not included."
|
||||
|
||||
var/obj/item/clothing/glasses/regular/spy/linked_glasses
|
||||
var/obj/screen/cam_screen
|
||||
var/obj/screen/map_view/cam_screen
|
||||
var/obj/screen/plane_master/lighting/cam_plane_master
|
||||
// Ranges higher than one can be used to see through walls.
|
||||
var/cam_range = 1
|
||||
|
||||
@@ -117,7 +117,7 @@ const KitchenSinkButton = props => {
|
||||
<Button fluid content="Fluid" />
|
||||
<Button
|
||||
my={1}
|
||||
lineHeight={1}
|
||||
lineHeight={2}
|
||||
minWidth={15}
|
||||
textAlign="center"
|
||||
content="With Box props" />
|
||||
@@ -307,7 +307,7 @@ const KitchenSinkInput = (props, context) => {
|
||||
<LabeledList.Item label="NumberInput (onChange)">
|
||||
<NumberInput
|
||||
animated
|
||||
width="30px"
|
||||
width="40px"
|
||||
step={1}
|
||||
stepPixelSize={5}
|
||||
value={number}
|
||||
@@ -318,7 +318,7 @@ const KitchenSinkInput = (props, context) => {
|
||||
<LabeledList.Item label="NumberInput (onDrag)">
|
||||
<NumberInput
|
||||
animated
|
||||
width="30px"
|
||||
width="40px"
|
||||
step={1}
|
||||
stepPixelSize={5}
|
||||
value={number}
|
||||
|
||||
Reference in New Issue
Block a user