mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 06:05:15 -04:00
[jak2] force-envmap? hack (#2316)
Also affects texscroll and ripple, but I'm not sure what would be good places to test those.
This commit is contained in:
@@ -92,5 +92,7 @@ def update_all_blocks(game_name, block_dict):
|
||||
final_lines.append(line)
|
||||
i = i + 1
|
||||
# Update the file contents
|
||||
with open(path, "w") as f:
|
||||
f.writelines(final_lines)
|
||||
# Don't write a new file unless we have to, though
|
||||
if lines != final_lines:
|
||||
with open(path, "w") as f:
|
||||
f.writelines(final_lines)
|
||||
|
||||
Reference in New Issue
Block a user