Merge pull request #33324 from deathride58/foreignfurryaddswidescreen

[Ready] Makes the default view range a config option (Allows hosts to enable widescreen)
This commit is contained in:
Jordan Brown
2017-12-07 13:50:09 -05:00
committed by CitadelStationBot
parent e6fb6a5910
commit 8b9e15d1b5
17 changed files with 29 additions and 19 deletions
+2 -2
View File
@@ -651,10 +651,10 @@ Traitors and the like can also be revived with the previous role mostly intact.
set name = "Change View Range"
set desc = "switches between 1x and custom views"
if(view == world.view)
if(view == CONFIG_GET(string/default_view))
change_view(input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128))
else
change_view(world.view)
change_view(CONFIG_GET(string/default_view))
log_admin("[key_name(usr)] changed their view range to [view].")
//message_admins("\blue [key_name_admin(usr)] changed their view range to [view].") //why? removed by order of XSI