Add fit viewport verb and automatic pref

This commit is contained in:
ShadowLarkens
2024-09-11 19:14:10 -07:00
parent a181941b7c
commit d02e25fad3
8 changed files with 106 additions and 2 deletions
+1
View File
@@ -1184,6 +1184,7 @@
/mob/proc/set_viewsize(var/new_view = world.view)
if (client && new_view != client.view)
client.view = new_view
client.attempt_auto_fit_viewport()
return TRUE
return FALSE