mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Fixing issue where niko's lightmap clips everything
On maps where the ambient is set via an event/script, niko's lightbulb clips through anything solid. This case here seems to be the culprit.
This commit is contained in:
parent
1e6665cf27
commit
851a12ada3
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class Sprite_Character
|
|||
#--------------------------------------------------------------------------
|
||||
def update
|
||||
# Choose the appropriate light sprite
|
||||
@light_sprite.viewport = ($game_map.ambient.blank? && $game_screen.tone.blank?) ? @viewport : @light_viewport
|
||||
@light_sprite.viewport = ($game_screen.tone.blank?) ? @viewport : @light_viewport
|
||||
# Update sprites
|
||||
@sprite.update
|
||||
@light_sprite.update
|
||||
|
|
|
|||
Loading…
Reference in a new issue