mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
[MIRROR] Adds a crash report to the imprint_gps proc and removes an unnecessary arg in law.dm (#28781)
* Adds a crash report to the imprint_gps proc and removes an unnecessary arg in law.dm (#84818) ## About The Pull Request As the title says ## Why It's Good For The Game if someone's using the proc and fucks up they might be able to tell easier ## Changelog 🆑 code: added a crash report and removes an arg /🆑 * Adds a crash report to the imprint_gps proc and removes an unnecessary arg in law.dm --------- Co-authored-by: Odairu <mdesisto510@gmail.com>
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
return
|
||||
for(var/obj/item/circuitboard/computer/board in src.contents)
|
||||
if(!contents || board.GetComponent(/datum/component/gps))
|
||||
return
|
||||
CRASH("[src] Called imprint_gps without setting gps_tag")
|
||||
board.AddComponent(/datum/component/gps, "[tracker]")
|
||||
balloon_alert_to_viewers("board tracker enabled", vision_distance = 1)
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
current = null
|
||||
return
|
||||
M.install(current.laws, user)
|
||||
imprint_gps(gps_tag = "Weak Upload Signal")
|
||||
imprint_gps("Weak Upload Signal")
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user