How can I fix a visual bug after exiting the arcade that I spawned in my script?
-
I am currently scripting a mod that requires the player to enter and exit the arcade, when I exit the arcade though, Los Santos is all messed up and looks kind of blue. I think its connected to the game still thinking that I am in the arcade but I don't know what I can do about it. If you know how I can fix this issue please let me know, any help is appreciated.
-
Well I found out how to fix my issue, if anyone is also experiencing it, use this function after teleporting out of the interior.
Function.Call(Hash.CLEAR_TIMECYCLE_MODIFIER);
-
@M8T Any idea what caused this in the first place? I have never seen that kind of issue teleporting by native function.
-
@JohnFromGWN It was probably some issue with the arcade interior lighting, it was not changing to the exterior lighting when you exit for some reason, for some reason using this function after teleporting out fixes the issue.