Merge branch 'ambientocclusion' of https://github.com/Markolie/Paradise into lighting

This commit is contained in:
Mark van Alphen
2019-04-23 22:59:11 +02:00
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -107,6 +107,7 @@
/datum/action/item_action
check_flags = AB_CHECK_RESTRAINED|AB_CHECK_STUNNED|AB_CHECK_LYING|AB_CHECK_CONSCIOUS
var/use_itemicon = TRUE
/datum/action/item_action/New(Target, custom_icon, custom_icon_state)
..()
var/obj/item/I = target
@@ -136,9 +137,10 @@
var/obj/item/I = target
var/old_layer = I.layer
var/old_plane = I.plane
I.layer = HUD_LAYER_SCREEN + 1
I.plane = HUD_PLANE
current_button.overlays += I
I.layer = FLOAT_LAYER //AAAH
I.plane = FLOAT_PLANE //^ what that guy said
current_button.cut_overlays()
current_button.add_overlay(I)
I.layer = old_layer
I.plane = old_plane
else
@@ -18,7 +18,7 @@
ghost_anonsay,
exp,
clientfps,
atklog,
atklog
FROM [format_table_name("player")]
WHERE ckey='[C.ckey]'"}
)