mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Linter Introduction + Cleanup
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* optional parent_ui datum/tgui A parent UI that, when closed, closes this UI as well.
|
||||
*/
|
||||
|
||||
/datum/proc/tgui_interact(mob/user, datum/tgui/ui = null, datum/tgui/parent_ui = null)
|
||||
/datum/proc/tgui_interact(mob/user, datum/tgui/ui = null, datum/tgui/parent_ui = null, custom_state = null)
|
||||
return FALSE // Not implemented.
|
||||
|
||||
/**
|
||||
|
||||
@@ -58,11 +58,11 @@
|
||||
target = V.restricted_waypoints[1]
|
||||
else
|
||||
to_chat(C, "<span class='warning'>Unable to jump to [V].</span>")
|
||||
return FALSE
|
||||
return
|
||||
var/turf/T = get_turf(target)
|
||||
if(!istype(T))
|
||||
to_chat(C, "<span class='warning'>Unable to jump to [V].</span>")
|
||||
return FALSE
|
||||
return
|
||||
C.jumptoturf(T)
|
||||
return TRUE
|
||||
if("classicmove")
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
if(monitored_alarm_ids)
|
||||
for(var/obj/machinery/alarm/alarm in machines)
|
||||
if(alarm.alarm_id && alarm.alarm_id in monitored_alarm_ids)
|
||||
if(alarm.alarm_id && (alarm.alarm_id in monitored_alarm_ids))
|
||||
monitored_alarms += alarm
|
||||
// machines may not yet be ordered at this point
|
||||
monitored_alarms = dd_sortedObjectList(monitored_alarms)
|
||||
|
||||
@@ -158,7 +158,6 @@
|
||||
. = ..()
|
||||
if(!istype(new_linked))
|
||||
CRASH("Warning, [new_linked] is not an overmap ship! Something went horribly wrong for [usr]!")
|
||||
return
|
||||
linked = new_linked
|
||||
name = initial(name) + " ([linked.name])"
|
||||
// HELM
|
||||
|
||||
Reference in New Issue
Block a user