[MIRROR] some code cleanup (#12946)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-08-03 16:39:49 -04:00
committed by GitHub
co-authored by Kashargul Cameron Lennox
parent 7164f93ed0
commit 8fbd7b20f8
10 changed files with 149 additions and 152 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
switch(action)
if("grab")
return grab(usr, params)
return grab(ui.user, params)
if("refresh")
return populate_contents()
+2 -2
View File
@@ -7,8 +7,8 @@
var/build = owner.byond_build
var/version = owner.byond_version
if(build < 515 || (build == 515 && version < 1635))
to_chat(owner.mob, span_info("\
<span class='bolddanger'>Your version of Byond doesn't support fast image loading.</span>\n\
to_chat(owner.mob, span_info(span_bolddanger("\
Your version of Byond doesn't support fast image loading.") + ")\n\
Detected: [version].[build]\n\
Required version for this feature: <b>515.1635</b> or later.\n\
Visit <a href=\"https://secure.byond.com/download\">BYOND's website</a> to get the latest version of BYOND.\n\