mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Add art canvas size to canvas description. (#10220)
Co-authored-by: TheGreatKitsune <88862343+TheGreatKitsune@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1c7901a145
commit
f1f41aa6f0
@@ -71,6 +71,7 @@
|
|||||||
/obj/item/canvas/Initialize()
|
/obj/item/canvas/Initialize()
|
||||||
. = ..()
|
. = ..()
|
||||||
reset_grid()
|
reset_grid()
|
||||||
|
desc += " (Canvas size is [width]x[height].)"
|
||||||
|
|
||||||
/obj/item/canvas/proc/reset_grid()
|
/obj/item/canvas/proc/reset_grid()
|
||||||
grid = new/list(width,height)
|
grid = new/list(width,height)
|
||||||
|
|||||||
Reference in New Issue
Block a user