Skip to content

Commit 5b07bcd

Browse files
committed
final DM side fixes
1 parent 909c739 commit 5b07bcd

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

code/__HELPERS/math/vector/vector.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
return new /_vector(x - B.x, y - B.y)
7878

7979
/_vector/proc/operator*(var/mult)
80-
if(istype(mult, /vector))
80+
if(istype(mult, /_vector))
8181
return dot(mult)
8282
return new /_vector(x * mult, y * mult)
8383

code/modules/mob/living/simple_animal/hostile/giant_spider/base_spider.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
if(dark_plane)
185185
if (master_plane)
186186
master_plane.blend_mode = BLEND_ADD
187-
dark_plane.alphas["spider"] = 15 // with the master_plane at BLEND_ADD, shadows appear well lit while actually well lit places appear blinding.
187+
dark_plane.alphas["spider"] = 0 // with the master_plane at BLEND_ADD, shadows appear well lit while actually well lit places appear blinding.
188188
client.color = list(
189189
1,0,0,0,
190190
0,0.2,0,0,

code/modules/mob/living/simple_animal/hostile/grue.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
if(dark_plane)
431431
if(master_plane)
432432
master_plane.blend_mode = BLEND_ADD
433-
dark_plane.alphas["grue"] = 15 // with the master_plane at BLEND_ADD, shadows appear well lit while actually well lit places appear blinding.
433+
dark_plane.alphas["grue"] = 0 // with the master_plane at BLEND_ADD, shadows appear well lit while actually well lit places appear blinding.
434434
client.color = list(
435435
1,0,0,0,
436436
-1,0.2,0.2,0,

code/modules/organs/internal/eyes/eyes.dm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
var/list/colourmatrix = list()
1111

1212
/datum/organ/internal/eyes/proc/update_perception(var/mob/living/carbon/human/M)
13+
// Bad hack but in 516 any non-zero value of the dark plane will result in glitch for night vision googles
14+
// Fix by reworking dark planes?
15+
if (istype(M.glasses, /obj/item/clothing/glasses/scanner/night))
16+
return
1317
M.dark_plane.alphas["human"] = 5
1418

1519
/datum/organ/internal/eyes/process() //Eye damage replaces the old eye_stat var.

0 commit comments

Comments
 (0)