Skip to content

Commit

Permalink
Merge pull request HearthOfHestia#220 from MarinaGryphon/hearthfixes/…
Browse files Browse the repository at this point in the history
…prelaunch

Pre-launch hotfixes
  • Loading branch information
noelle-lavenza authored Feb 3, 2022
2 parents de6699d + af2ebb0 commit c989516
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions code/_onclick/hud/fullscreen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
screen.transform = null
if(screen && client)
if(screen.screen_loc != ui_entire_screen)
if(max(client.last_view_x_dim, client.last_view_y_dim) > 7)
if(max(client.last_view_x_dim, client.last_view_y_dim) > 15)
var/matrix/M = matrix()
M.Scale(CEILING(client.last_view_x_dim/7),CEILING(client.last_view_y_dim/7))
M.Scale(client.last_view_x_dim/15,client.last_view_y_dim/15)
screen.transform = M
if(stat != DEAD || screen.allstate)
client.screen += screen
Expand Down Expand Up @@ -70,9 +70,9 @@
for(var/category in screens)
var/obj/screen/fullscreen/screen = screens[category]
screen.transform = null
if(screen.screen_loc != ui_entire_screen && largest_bound > 7)
if(screen.screen_loc != ui_entire_screen && largest_bound > 15)
var/matrix/M = matrix()
M.Scale(CEILING(client.last_view_x_dim/7), CEILING(client.last_view_y_dim/7))
M.Scale(client.last_view_x_dim/15, client.last_view_y_dim/15)
screen.transform = M
client.screen |= screen

Expand Down
2 changes: 1 addition & 1 deletion code/datums/outfits/equipment/survival_box.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var/global/list/survival_box_choices = list()

/decl/survival_box_option
var/name = "survival kit"
var/box_type = /obj/item/storage/box
var/box_type = /obj/item/storage/box/survival

/decl/survival_box_option/Initialize()
. = ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/storage/boxes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
..()
foldable = null //special form fitted boxes should not be foldable.

/obj/item/storage/box/survival/
/obj/item/storage/box/survival
name = "crew survival kit"
desc = "A box decorated in warning colors that contains a limited supply of survival tools. The panel and white stripe indicate this one contains oxygen."
icon_state = "survival"
Expand Down
4 changes: 2 additions & 2 deletions code/modules/organs/pain.dm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/mob/proc/flash_pain(var/target)
if(pain)
var/matrix/M
if(client && max(client.last_view_x_dim, client.last_view_y_dim) > 7)
if(client && max(client.last_view_x_dim, client.last_view_y_dim) > 15)
M = matrix()
M.Scale(CEILING(client.last_view_x_dim/7), CEILING(client.last_view_y_dim/7))
M.Scale(client.last_view_x_dim/15, client.last_view_y_dim/15)
pain.transform = M
animate(pain, alpha = target, time = 15, easing = ELASTIC_EASING)
animate(pain, alpha = 0, time = 20)
Expand Down

0 comments on commit c989516

Please sign in to comment.