mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Changeling/Wizard/Future Stuff Hud Button Fix
Hopefully this stops the roundstop changeling hud wonkiness.
This commit is contained in:
@@ -73,8 +73,8 @@
|
|||||||
var/obj/screen/spell/S = spell_objects[i]
|
var/obj/screen/spell/S = spell_objects[i]
|
||||||
var/xpos = x_position + (x_position < 8 ? 1 : -1)*(i%7)
|
var/xpos = x_position + (x_position < 8 ? 1 : -1)*(i%7)
|
||||||
var/ypos = y_position + (y_position < 8 ? round(i/7) : -round(i/7))
|
var/ypos = y_position + (y_position < 8 ? round(i/7) : -round(i/7))
|
||||||
S.screen_loc = "[encode_screen_X(xpos)]:[x_pix],[encode_screen_Y(ypos)]:[y_pix]"
|
|
||||||
if(spell_holder && spell_holder.client)
|
if(spell_holder && spell_holder.client)
|
||||||
|
S.screen_loc = "[encode_screen_X(xpos)]:[x_pix],[encode_screen_Y(ypos)]:[y_pix]"
|
||||||
spell_holder.client.screen += S
|
spell_holder.client.screen += S
|
||||||
S.handle_icon_updates = 1
|
S.handle_icon_updates = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user