Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
MosleyTheMalO committed Jul 21, 2024
1 parent 23584e3 commit 74f07b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/unit_tests/~splurt/underwear_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
var/list/lines = outputs[object_type]
var/output_file = "[lines.Join("\n")]"
rustg_file_write(output_file, "data/~generated_files/[object_type].dm")
var/current = world.system_type == UNIX ? file2text(file("modular_zzplurt/code/modules/clothing/underwear/~generated_files/[object_type].dm")) : rustg_file_read("modular_zzplurt/code/modules/clothing/underwear/~generated_files/[object_type].dm") //Apparently unix doesn't like rustg file procs
var/current = file2text(file("modular_zzplurt/code/modules/clothing/underwear/~generated_files/[object_type].dm")) //Apparently unix doesn't like rustg file procs
if(current != output_file)
log_test("[object_type] is out of date.")
log_test("modular_zzplurt/code/modules/clothing/underwear/~generated_files/[object_type].dm is out of date.")
fail = TRUE

if(fail)
Expand Down

0 comments on commit 74f07b8

Please sign in to comment.