mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Moved global/map metadata constants and schema into modules
This commit is contained in:
@@ -117,7 +117,7 @@ end
|
||||
|
||||
def pbDayNightTint(object)
|
||||
return if !$scene.is_a?(Scene_Map)
|
||||
if TIME_SHADING && pbGetMetadata($game_map.map_id,MetadataOutdoor)
|
||||
if TIME_SHADING && pbGetMetadata($game_map.map_id,MapMetadata::OUTDOOR)
|
||||
tone = PBDayNight.getTone
|
||||
object.tone.set(tone.red,tone.green,tone.blue,tone.gray)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user