Crash due to error in smart_terrain_squad_count(board_smart_squads)

Issue #455 new
Piotr created an issue

This is a crash that occurred in Army Warehouse. It was not reproducible, in that loading the nearest save did not cause the error to happen again. The trigger seemed to be combat within the switch distance of the Freedom base, but on reload it did not happen again. Error segment of the log attached is as follows:

! [SCRIPT ERROR]: f:/stalker/anomoly\gamedata\scripts\smart_terrain.script:1489: attempt to call method 'get_script_target' (a nil value)

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: f:/stalker/anomoly\gamedata\scripts\smart_terrain.script:1489: attempt to call method 'get_script_target' (a nil value)

Comments (0)

  1. Log in to comment