mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Fixes ShowInterface() using usr instead of user. Thanks MrPerson.
Also added a pause to the end of both mapmerge batch files, to stop them autoclosing when doubleclicked (and hence hiding errors).
This commit is contained in:
+1
-1
@@ -588,7 +588,7 @@
|
||||
/obj/machinery/computer/scan_consolenew/proc/ShowInterface(mob/user, last_change)
|
||||
if(!user) return
|
||||
var/datum/browser/popup = new(user, "scannernew", "DNA Modifier Console", 880, 470) // Set up the popup browser window
|
||||
if(!( in_range(src, usr) || istype(usr, /mob/living/silicon) ))
|
||||
if(!( in_range(src, user) || istype(user, /mob/living/silicon) ))
|
||||
popup.close()
|
||||
return
|
||||
popup.add_stylesheet("scannernew", 'html/browser/scannernew.css')
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
set MAPFILE=tgstation.2.1.2.dmm
|
||||
|
||||
java -jar MapPatcher.jar -clean ../../maps/%MAPFILE%.backup ../../maps/%MAPFILE% ../../maps/%MAPFILE%
|
||||
java -jar MapPatcher.jar -clean ../../maps/%MAPFILE%.backup ../../maps/%MAPFILE% ../../maps/%MAPFILE%
|
||||
|
||||
pause
|
||||
@@ -2,3 +2,5 @@ set MAPFILE=tgstation.2.1.2.dmm
|
||||
|
||||
cd ../../maps
|
||||
copy %MAPFILE% %MAPFILE%.backup
|
||||
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user